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

8.0.x
webchick 2014-07-11 22:55:11 -07:00
parent 1eadf82a5e
commit 17e7dbac24
1 changed files with 0 additions and 12 deletions

View File

@ -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.
*