Commit f1d807b5 authored by alexpott's avatar alexpott

Issue #2352917 by joshi.rohit100, chintan.vyas, JeroenT: Remove...

Issue #2352917 by joshi.rohit100, chintan.vyas, JeroenT: Remove module_install() and module_uninstall() from module.inc
parent 6f34dffe
......@@ -151,30 +151,6 @@ function module_load_include($type, $module, $name = NULL) {
return FALSE;
}
/**
* Installs a given list of modules.
*
* @see \Drupal\Core\Extension\ModuleHandlerInterface::install()
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0. Use
* \Drupal::service('module_installer')->install($module_list, $enable_dependencies = TRUE).
*/
function module_install($module_list, $enable_dependencies = TRUE) {
return \Drupal::service('module_installer')->install($module_list, $enable_dependencies);
}
/**
* Installs a given list of modules.
*
* @see \Drupal\Core\Extension\ModuleHandlerInterface::module_install()
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0. Use
* \Drupal::service('module_installer')->uninstall($module_list, $enable_dependencies = TRUE).
*/
function module_uninstall($module_list = array(), $uninstall_dependents = TRUE) {
return \Drupal::service('module_installer')->uninstall($module_list, $uninstall_dependents);
}
/**
* Returns an array of modules required by core.
*/
......
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