function MenuActiveTrailsCacheContext::__construct
Same name in other branches
- 10 core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php \Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::__construct()
Constructs a MenuActiveTrailsCacheContext object.
Parameters
\Drupal\Core\Menu\MenuActiveTrailInterface $menuActiveTrailService: The menu active trail service.
File
-
core/
lib/ Drupal/ Core/ Cache/ Context/ MenuActiveTrailsCacheContext.php, line 19
Class
- MenuActiveTrailsCacheContext
- Defines the MenuActiveTrailsCacheContext service.
Namespace
Drupal\Core\Cache\ContextCode
public function __construct(MenuActiveTrailInterface $menuActiveTrailService) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.