function DestructableInterface::destruct

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

Performs destruct operations.

6 methods override DestructableInterface::destruct()
CacheCollector::destruct in core/lib/Drupal/Core/Cache/CacheCollector.php
LocaleTranslation::destruct in core/modules/locale/src/LocaleTranslation.php
Registry::destruct in core/lib/Drupal/Core/Theme/Registry.php
RouteBuilder::destruct in core/lib/Drupal/Core/ProxyClass/Routing/RouteBuilder.php
RouteBuilder::destruct in core/lib/Drupal/Core/Routing/RouteBuilder.php

... See full list

File

core/lib/Drupal/Core/DestructableInterface.php, line 20

Class

DestructableInterface
The interface for services that need explicit destruction.

Namespace

Drupal\Core

Code

public function destruct();

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