function drush_extension_get_path

8.0.x drush_extension_get_path($info)
7.x drush_extension_get_path($info)
master drush_extension_get_path($info)

Gets the extension path.


$info: The extension info.

Return value

string The extension path.

4 calls to drush_extension_get_path()
drush_get_projects in commands/pm/
Obtain an array of installed projects off the extensions available.
drush_pm_enable_validate in commands/pm/
Validate callback. Determine the modules and themes that the user would like enabled.
_drush_generate_custom_project in commands/make/
Create a project record for an extension not downloaded from
_drush_pm_info_extension in commands/pm/
Return an array with general info of an extension.


includes/, line 768
Functions used by drush to query the environment and setting the current configuration.


function drush_extension_get_path($info) {
  drush_include_engine('drupal', 'environment');
  return _drush_extension_get_path($info);