W3cubDocs

/Drupal 8

public function Registry::destruct

public Registry::destruct()

Performs destruct operations.

Overrides DestructableInterface::destruct

File

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

Class

Registry
Defines the theme registry service.

Namespace

Drupal\Core\Theme

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Theme!Registry.php/function/Registry::destruct/8.1.x