public function DrupalKernelInterface::updateModules in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/DrupalKernelInterface.php \Drupal\Core\DrupalKernelInterface::updateModules()
Updates the kernel's list of modules to the new list.
The kernel needs to update its bundle list and container to match the new list.
Parameters
array $module_list: The new list of modules.
array $module_filenames: List of module filenames, keyed by module name.
1 method overrides DrupalKernelInterface::updateModules()
- DrupalKernel::updateModules in core/
lib/ Drupal/ Core/ DrupalKernel.php - Implements Drupal\Core\DrupalKernelInterface::updateModules().
File
- core/
lib/ Drupal/ Core/ DrupalKernelInterface.php, line 113
Class
- DrupalKernelInterface
- The interface for DrupalKernel, the core of Drupal.
Namespace
Drupal\CoreCode
public function updateModules(array $module_list, array $module_filenames = []);