public function Registry::destruct in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Theme/Registry.php \Drupal\Core\Theme\Registry::destruct()
 
Performs destruct operations.
Overrides DestructableInterface::destruct
File
- core/
lib/ Drupal/ Core/ Theme/ Registry.php, line 809  
Class
- Registry
 - Defines the theme registry service.
 
Namespace
Drupal\Core\ThemeCode
public function destruct() {
  foreach ($this->runtimeRegistry as $runtime_registry) {
    $runtime_registry
      ->destruct();
  }
}