protected function MenuActiveTrail::resolveCacheMiss in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Menu/MenuActiveTrail.php \Drupal\Core\Menu\MenuActiveTrail::resolveCacheMiss()
Overrides CacheCollector::resolveCacheMiss
See also
::getActiveTrailIds()
File
- core/
lib/ Drupal/ Core/ Menu/ MenuActiveTrail.php, line 75 - Contains \Drupal\Core\Menu\MenuActiveTrail.
Class
- MenuActiveTrail
- Provides the default implementation of the active menu trail service.
Namespace
Drupal\Core\MenuCode
protected function resolveCacheMiss($menu_name) {
$this->storage[$menu_name] = $this
->doGetActiveTrailIds($menu_name);
$this->tags[] = 'config:system.menu.' . $menu_name;
$this
->persist($menu_name);
return $this->storage[$menu_name];
}