Commit 17e7dbac authored by webchick's avatar webchick

Issue #2300831 by joshi.rohit100: Remove module_exists() as it is deprecated.

parent 1eadf82a
......@@ -1161,18 +1161,6 @@ function drupal_alter($type, &$data, &$context1 = NULL, &$context2 = NULL) {
return \Drupal::moduleHandler()->alter($type, $data, $context1, $context2);
}
/**
* Determines whether a given module exists.
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
* Use \Drupal::moduleHandler()->moduleExists($module).
*
* @see \Drupal\Core\Extension\ModuleHandler::moduleExists()
*/
function module_exists($module) {
return \Drupal::moduleHandler()->moduleExists($module);
}
/**
* Returns the test prefix if this is an internal request from SimpleTest.
*
......
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