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.inc, line 376
Specific functions for a drupal 8+ 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->getType();
}