function Registry::destruct

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

Overrides DestructableInterface::destruct

File

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

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.