function drush_extension_get_type

8.0.x environment.inc drush_extension_get_type($info)
7.x environment.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.

10 calls to drush_extension_get_type()
drush_get_extension_status in commands/pm/pm.drush.inc
Calculate an extension status based on current status and schema version.
drush_get_projects in commands/pm/pm.drush.inc
Obtain an array of installed projects off the extensions available.
drush_pm_classify_extensions in commands/pm/pm.drush.inc
Classify extensions as modules, themes or unknown.
drush_pm_enable_validate in commands/pm/pm.drush.inc
Validate callback. Determine the modules and themes that the user would like enabled.
drush_pm_info in commands/pm/info.pm.inc
Command callback. Show detailed info for one or more extensions.

... See full list

File

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

Code

function drush_extension_get_type($info) {
  drush_include_engine('drupal', 'environment');
  return _drush_extension_get_type($info);
}