Commit 4709679e authored by alexpott's avatar alexpott

Issue #2193623 by JeroenT, ianthomas_uk, shumer, LinL: Remove module_implements and module_list

parent f1d807b5
......@@ -815,32 +815,6 @@ function drupal_get_bootstrap_phase() {
return drupal_bootstrap();
}
/**
* Returns the list of enabled modules.
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
* Use \Drupal::moduleHandler()->getModuleList().
*
* @see \Drupal\Core\Extension\ModuleHandler::getModuleList()
*/
function module_list() {
$modules = array_keys(\Drupal::moduleHandler()->getModuleList());
return array_combine($modules, $modules);
}
/**
* Determines which modules are implementing a hook.
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
* Use \Drupal::moduleHandler()->getImplementations($hook).
*
* @see \Drupal\Core\Extension\ModuleHandler::getImplementations()
*/
function module_implements($hook) {
return \Drupal::moduleHandler()->getImplementations($hook);
}
/**
* 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