function Registry::destruct

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

Overrides DestructableInterface::destruct

File

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

Class

Registry
Defines the theme registry service.

Namespace

Drupal\Core\Theme

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.