diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc index 247d51fa2b4c22c18393d03070dcea1400dee3ee..caa20b91c18618e0eba9757aeb32b17c6ae4d7ee 100644 --- a/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -1192,18 +1192,6 @@ function module_exists($module) { return \Drupal::moduleHandler()->moduleExists($module); } -/** - * Determines whether a module implements a hook. - * - * @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0. - * Use \Drupal::moduleHandler()->implementsHook($module, $hook). - * - * @see \Drupal\Core\Extension\ModuleHandler::implementsHook() - */ -function module_hook($module, $hook) { - return \Drupal::moduleHandler()->implementsHook($module, $hook); -} - /** * Returns the test prefix if this is an internal request from SimpleTest. *