function _drush_extension_get_type

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

Gets the extension type.

Parameters

$info: The extension info.

Return value

string The extension type.

1 call to _drush_extension_get_type()
drush_extension_get_type in includes/environment.inc
Gets the extension type.

File

commands/core/drupal/environment_7.inc, line 326
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_type($info) {
  return $info->type;
}