function drush_outputformat::get_info

8.0.x outputformat.drush.inc drush_outputformat::get_info($key)
6.x outputformat.drush.inc drush_outputformat::get_info($key)
7.x outputformat.drush.inc drush_outputformat::get_info($key)
master outputformat.drush.inc drush_outputformat::get_info($key)

File

commands/core/outputformat.drush.inc, line 395
Core drush output formats.

Class

drush_outputformat
Interface for output format engines.

Code

function get_info($key) {
  if (array_key_exists($key, $this->engine_config)) {
    return $this->engine_config[$key];
  }
  elseif (isset($this->sub_engine)) {
    return $this->sub_engine->get_info($key);
  }
  return FALSE;
}