function annotationcommand_adapter_get_processor

master annotationcommand_adapter.inc annotationcommand_adapter_get_processor()

Fetch the command processor from the factory.

Return value

AnnotatedCommandFactory

2 calls to annotationcommand_adapter_get_processor()
annotatedcomand_adapter_get_formatter in includes/annotationcommand_adapter.inc
Fetch the formatter manager from the command processor
annotationcommand_adapter_process_command in includes/annotationcommand_adapter.inc
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,…

File

includes/annotationcommand_adapter.inc, line 41
annotationcommand_adapter.inc

Code

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