Implements \Drupal\Core\Extension\ModuleHandlerInterface::invoke().
Overrides ModuleHandlerInterface::invoke
public function invoke($module, $hook, $args = array()) {
if (!$this
->implementsHook($module, $hook)) {
return;
}
$function = $module . '_' . $hook;
return call_user_func_array($function, $args);
}