function drush_extension_get_name

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

Gets the extension name.


$info: The extension info.

Return value

string The extension name.

3 calls to drush_extension_get_name()
drush_get_projects in commands/pm/
Obtain an array of installed projects off the extensions available.
_drush_pm_info_extension in commands/pm/
Return an array with general info of an extension.
_drush_pm_info_module in commands/pm/
Return an array with info of a module.


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


function drush_extension_get_name($info) {
  drush_include_engine('drupal', 'environment');
  return _drush_extension_get_name($info);