function DestructableInterface::destruct
Same name in other branches
- 9 core/lib/Drupal/Core/DestructableInterface.php \Drupal\Core\DestructableInterface::destruct()
- 8.9.x core/lib/Drupal/Core/DestructableInterface.php \Drupal\Core\DestructableInterface::destruct()
- 11.x core/lib/Drupal/Core/DestructableInterface.php \Drupal\Core\DestructableInterface::destruct()
Performs destruct operations.
9 methods override DestructableInterface::destruct()
- CacheCollector::destruct in core/
lib/ Drupal/ Core/ Cache/ CacheCollector.php - Destructable::destruct in core/
modules/ system/ tests/ modules/ destructable_test/ src/ Destructable.php - Performs destruct operations.
- LocaleTranslation::destruct in core/
modules/ locale/ src/ LocaleTranslation.php - Performs destruct operations.
- MenuActiveTrail::destruct in core/
lib/ Drupal/ Core/ ProxyClass/ Menu/ MenuActiveTrail.php - PerformanceDataCollector::destruct in core/
modules/ system/ tests/ modules/ performance_test/ src/ PerformanceDataCollector.php - Performs destruct operations.
File
-
core/
lib/ Drupal/ Core/ DestructableInterface.php, line 20
Class
- DestructableInterface
- The interface for services that need explicit destruction.
Namespace
Drupal\CoreCode
public function destruct();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.