Overrides ModuleHandlerInterface::hasImplementations
public function hasImplementations(string $hook, $modules = NULL) : bool { $implementation_modules = array_keys($this->getHookListeners($hook)); return (bool) (isset($modules) ? array_intersect($implementation_modules, (array) $modules) : $implementation_modules); }