You are here

public function MenuLinkBase::getCacheContexts in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\MenuLinkBase::getCacheContexts()
  2. 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\Menu

Code

public function getCacheContexts() {
  return [];
}