You are here

public function Registry::destruct in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Theme/Registry.php \Drupal\Core\Theme\Registry::destruct()
  2. 9 core/lib/Drupal/Core/Theme/Registry.php \Drupal\Core\Theme\Registry::destruct()

File

core/lib/Drupal/Core/Theme/Registry.php, line 774

Class

Registry
Defines the theme registry service.

Namespace

Drupal\Core\Theme

Code

public function destruct() {
  foreach ($this->runtimeRegistry as $runtime_registry) {
    $runtime_registry
      ->destruct();
  }
}