function DrupalKernelInterface::updateThemes
Updates the kernel's list of themes to the new list.
The kernel needs to update its list and container to match the new list.
array<string, \Drupal\Core\Extension\Extension> $register_themes List of theme extensions, keyed by theme name.
1 method overrides DrupalKernelInterface::updateThemes()
- DrupalKernel::updateThemes in core/
lib/ Drupal/ Core/ DrupalKernel.php - Updates the kernel's list of themes to the new list.
File
-
core/
lib/ Drupal/ Core/ DrupalKernelInterface.php, line 127
Class
- DrupalKernelInterface
- The interface for DrupalKernel, the core of Drupal.
Namespace
Drupal\CoreCode
public function updateThemes(array $register_themes = []) : void;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.