Explicitly sets the moduleList property to the passed in array of modules.
Parameters
array $module_list:
An associative array whose keys are the names of the modules and whose
values are the module filenames.
File
- drupal/core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php, line 72
- Contains Drupal\Core\Extension\ModuleHandlerInterface.
Class
- ModuleHandlerInterface
- Interface for classes that manage a set of enabled modules.
Namespace
Drupal\Core\Extension
Code
public function setModuleList(array $module_list = array());