function MenuActiveTrail::destruct
Same name in this branch
- 11.x core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php \Drupal\Core\ProxyClass\Menu\MenuActiveTrail::destruct()
Same name and namespace in other branches
- 10 core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php \Drupal\Core\ProxyClass\Menu\MenuActiveTrail::destruct()
- main core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php \Drupal\Core\ProxyClass\Menu\MenuActiveTrail::destruct()
- main core/lib/Drupal/Core/Menu/MenuActiveTrail.php \Drupal\Core\Menu\MenuActiveTrail::destruct()
Overrides CacheCollector::destruct
File
-
core/
lib/ Drupal/ Core/ Menu/ MenuActiveTrail.php, line 81
Class
- MenuActiveTrail
- Provides the default implementation of the active menu trail service.
Namespace
Drupal\Core\MenuCode
public function destruct() : void {
// Because this cache is not additive, it stores exactly the same thing
// every time, there is no need to acquire a lock before writing.
$this->updateCache(FALSE);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.