public ModuleHandlerInterface::setModuleList(array $module_list = array())
Sets an explicit list of currently active modules.
Parameters
\Drupal\Core\Extension\Extension[] $module_list: An associative array whose keys are the names of the modules and whose values are Extension objects.
File
- core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php, line 76
Class
- ModuleHandlerInterface
- Interface for classes that manage a set of enabled modules.
Namespace
Drupal\Core\Extension
Code
public function setModuleList(array $module_list = array());
Please login to continue.