function annotationcommand_adapter_call_hook_command

master annotationcommand_adapter.inc annotationcommand_adapter_call_hook_command($names, CommandData $commandData)

Convert from an old-style Drush 'command' hook into annotated-command 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

Return value

boolean|object

See also

_drush_invoke_hooks().

File

includes/annotationcommand_adapter.inc, line 621
annotationcommand_adapter.inc

Code

function annotationcommand_adapter_call_hook_command($names, CommandData $commandData) {
  return annotationcommand_adapter_call_validate_interface($names, [HookManager::COMMAND_HOOK], $commandData);
}