function pm_drush_engine_type_info

8.0.x pm.drush.inc pm_drush_engine_type_info()
6.x pm.drush.inc pm_drush_engine_type_info()
7.x pm.drush.inc pm_drush_engine_type_info()
5.x pm.drush.inc pm_drush_engine_type_info()
master pm.drush.inc pm_drush_engine_type_info()

Implementation of hook_drush_engine_type_info().

Related topics

File

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

Code

function pm_drush_engine_type_info() {
  return array(
    'package_handler' => array(
      'option' => 'package-handler',
      'description' => 'Determine how to fetch projects from update service.',
      'default' => 'wget',
      'options' => array(
        'cache' => 'Cache release XML and tarballs or git clones. Git clones use git\'s --reference option. Defaults to 1 for downloads, and 0 for git.',
      ),
    ),
    'release_info' => array(
      'add-options-to-command' => TRUE,
    ),
    'update_status' => array(
      'option' => 'update-backend',
      'description' => 'Determine how to fetch update status information.',
      'default' => 'drush',
      'add-options-to-command' => TRUE,
      'options' => array(
        'update-backend' => 'Backend to obtain available updates.',
        'check-disabled' => 'Check for updates of disabled modules and themes.',
        'security-only' => 'Only update modules that have security updates available.',
      ),
      'combine-help' => TRUE,
    ),
    'version_control' => array(
      'option' => 'version-control',
      'default' => 'backup',
      'description' => 'Integrate with version control systems.',
    ),
  );
}