function pm_project_types

3.x pm.drush.inc pm_project_types()
4.x pm.drush.inc pm_project_types()
1 call to pm_project_types()
drush_pm_download in commands/pm/pm.drush.inc
Command callback. Download Drupal core or any project.

File

commands/pm/pm.drush.inc, line 1879
The drush Project Manager

Code

function pm_project_types() {
  // Lookup the 'Project type' vocabulary to some standard strings.
  $types = array(
    'core' => 'Drupal core',
    'profile' => 'Installation profiles',
    'module' => 'Modules',
    'theme' => 'Themes',
    'theme engine' => 'Theme engines',
    'translation' => 'Translations',
  );
  return $types;
}