function drush_extension_get_type

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

Gets the extension type.


$info: The extension info.

Return value

string The extension type.

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

... See full list


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


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