function pm_drush_engine_release_info

8.0.x pm_drush_engine_release_info()
6.x pm_drush_engine_release_info()
7.x pm_drush_engine_release_info()
5.x pm_drush_engine_release_info()
master pm_drush_engine_release_info()

Implements hook_drush_engine_ENGINE_TYPE().

Release info engine is used by several pm commands to obtain releases info from Drupal's update service or external sources.

Related topics


commands/pm/, line 1776
The drush Project Manager


function pm_drush_engine_release_info() {
  return array(
    'updatexml' => array(
      'description' => 'Drush release info engine for and compatible services.',
      'options' => array(
        'source' => 'The base URL which provides project release history in XML. Defaults to',
        'dev' => 'Work with development releases solely.',
      'sub-options' => array(
        'cache' => array(
          'cache-duration-releasexml' => 'Expire duration (in seconds) for release XML. Defaults to 86400 (24 hours).',
        'select' => array(
          'all' => 'Shows all available releases instead of a short list of recent releases.',
      'class' => 'Drush\UpdateService\ReleaseInfo',