function annotationcommand_adapter_get_processor

master annotationcommand_adapter_get_processor()

Fetch the command processor from the factory.

Return value


2 calls to annotationcommand_adapter_get_processor()
annotatedcomand_adapter_get_formatter in includes/
Fetch the formatter manager from the command processor
annotationcommand_adapter_process_command in includes/
This function is set as the $command['callback'] for commands that have been converted to annotated commands. When the DRUSH_SYMFONY environment variable is set, these will be called via Symfony's Application::run() method. Otherwise,…


includes/, line 41


function annotationcommand_adapter_get_processor() {
  $factory = \Drush::commandFactory();
  return $factory->commandProcessor();