function annotationcommand_adapter_call_hook_process_and_alter

master annotationcommand_adapter.inc annotationcommand_adapter_call_hook_process_and_alter($names, $commandData, $return)

After the primary Drush command hook is called, call all of the annotated-command process and alter hooks.

Parameters

string[] $names All of the applicable names for the command being hooked:

CommandData $commandData All of the parameter data associated with the: current command invokation, including the InputInterface, OutputInterface and AnnotationData

mixed $return The return value of the command being executed:

Return value

mixed The altered command return value

See also

_drush_invoke_hooks().

1 call to annotationcommand_adapter_call_hook_process_and_alter()
_drush_invoke_hooks in includes/command.inc
Invoke Drush API calls, including all hooks.

File

includes/annotationcommand_adapter.inc, line 669
annotationcommand_adapter.inc

Code

function annotationcommand_adapter_call_hook_process_and_alter($names, $commandData, $return) {
  return annotationcommand_adapter_call_process_interface($names, [HookManager::PRE_PROCESS_RESULT HookManager::PROCESS_RESULT HookManager::POST_PROCESS_RESULT HookManager::PRE_ALTER_RESULT HookManager::ALTER_RESULT HookManager::POST_ALTER_RESULT], $commandData, $return);
}