Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DrupalKernelInterface.php

function 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 115

Class

DrupalKernelInterface
The interface for DrupalKernel, the core of Drupal.

Namespace

Drupal\Core

Code

public function updateModules(array $module_list, array $module_filenames = []);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal