Commit 24cfbec0 authored by alexpott's avatar alexpott

Issue #2301577 by ParisLiakos, joshi.rohit100: Remove drupal_alter() as it is deprecated.

parent 8853240a
......@@ -1149,18 +1149,6 @@ function module_invoke($module, $hook) {
return \Drupal::moduleHandler()->invoke($module, $hook, $args);
}
/**
* Passes alterable variables to specific hook_TYPE_alter() implementations.
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
* Use \Drupal::moduleHandler()->alter($hook).
*
* @see \Drupal\Core\Extension\ModuleHandler::alter()
*/
function drupal_alter($type, &$data, &$context1 = NULL, &$context2 = NULL) {
return \Drupal::moduleHandler()->alter($type, $data, $context1, $context2);
}
/**
* Returns the test prefix if this is an internal request from SimpleTest.
*
......@@ -1678,4 +1666,3 @@ function _drupal_shutdown_function() {
error_log($exception);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment