public function MenuLinkBase::getCacheContexts in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\MenuLinkBase::getCacheContexts()
- 9 core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\MenuLinkBase::getCacheContexts()
1 method overrides MenuLinkBase::getCacheContexts()
- MenuLinkMock::getCacheContexts in core/
tests/ Drupal/ Tests/ Core/ Menu/ MenuLinkMock.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 [];
}