function drush_get_engine_types_info

8.0.x engines.inc drush_get_engine_types_info()
6.x engines.inc drush_get_engine_types_info()
7.x engines.inc drush_get_engine_types_info()
5.x drush.inc drush_get_engine_types_info()
master engines.inc drush_get_engine_types_info()

Obtain all engine types info and normalize with defaults.

See also

hook_drush_engine_type_info().

4 calls to drush_get_engine_types_info()
drush_engine_add_help_topics in includes/engines.inc
Add engine topics to the command topics, if any.
drush_get_engines in includes/engines.inc
Return a structured array of engines of a specific type.
drush_get_engine_topics in includes/engines.inc
Take a look at all of the available engines, and create topic commands for each one that declares a topic.
drush_merge_engine_data in includes/engines.inc
Add command structure info from each engine type back into the command.

File

includes/engines.inc, line 15
The drush engines API implementation and helpers.

Code

function drush_get_engine_types_info() {
  $info = drush_command_invoke_all('drush_engine_type_info');
  foreach ($info as $type => $data) {
    $info[$type] += array(
      'description' => '',
      'option' => FALSE,
      'default' => NULL,
      'options' => array(),
      'sub-options' => array(),
      'config-aliases' => array(),
      'add-options-to-command' => FALSE,
      'combine-help' => FALSE,
    );
  }

  return $info;
}