function _drush_extension_get_name

8.0.x environment_7.inc _drush_extension_get_name($info)
8.0.x environment_6.inc _drush_extension_get_name($info)
8.0.x environment.inc _drush_extension_get_name($info)
7.x environment_7.inc _drush_extension_get_name($info)
7.x environment_6.inc _drush_extension_get_name($info)
7.x environment.inc _drush_extension_get_name($info)
master environment_7.inc _drush_extension_get_name($info)
master environment.inc _drush_extension_get_name($info)

Gets the extension name.

Parameters

$info: The extension info.

Return value

string The extension name.

1 call to _drush_extension_get_name()
drush_extension_get_name in includes/environment.inc
Gets the extension name.

File

commands/core/drupal/environment_7.inc, line 314
Specific functions for a drupal 7 environment. drush_include_engine() magically includes either this file or environment_X.inc depending on which version of drupal drush is called from.

Code

function _drush_extension_get_name($info) {
  return $info->name;
}