function MenuLinkBase::getCacheContexts
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\MenuLinkBase::getCacheContexts()
- 10 core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\MenuLinkBase::getCacheContexts()
- 8.9.x core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\MenuLinkBase::getCacheContexts()
1 method overrides MenuLinkBase::getCacheContexts()
- InaccessibleMenuLink::getCacheContexts in core/
lib/ Drupal/ Core/ Menu/ InaccessibleMenuLink.php - The cache contexts associated with this object.
File
-
core/
lib/ Drupal/ Core/ Menu/ MenuLinkBase.php, line 180
Class
- MenuLinkBase
- Defines a base menu link class.
Namespace
Drupal\Core\MenuCode
public function getCacheContexts() {
return [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.