class DrushDrupalFinder (View source)

A replacement for DrupalFinder. We may go back to that once it uses InstalledVersions from Composer.

Methods

__construct(Environment $environment)

No description

string|bool
getDrupalRoot()

Get the Drupal root.

string|bool
getComposerRoot()

Get the Composer root.

string|bool
getVendorDir()

Get the vendor path.

Details

__construct(Environment $environment)

No description

Parameters

Environment $environment

string|bool getDrupalRoot()

Get the Drupal root.

Return Value

string|bool

The path to the Drupal root, if it was discovered. False otherwise.

string|bool getComposerRoot()

Get the Composer root.

Return Value

string|bool

The path to the Composer root, if it was discovered. False otherwise.

string|bool getVendorDir()

Get the vendor path.

Return Value

string|bool

The path to the vendor directory, if it was found. False otherwise.