function MenuLinkBase::getCacheTags

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\MenuLinkBase::getCacheTags()
  2. 8.9.x core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\MenuLinkBase::getCacheTags()
  3. 11.x core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\MenuLinkBase::getCacheTags()

Overrides CacheableDependencyInterface::getCacheTags

2 methods override MenuLinkBase::getCacheTags()
InaccessibleMenuLink::getCacheTags in core/lib/Drupal/Core/Menu/InaccessibleMenuLink.php
The cache tags associated with this object.
MenuLinkMock::getCacheTags in core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php
The cache tags associated with this object.

File

core/lib/Drupal/Core/Menu/MenuLinkBase.php, line 229

Class

MenuLinkBase
Defines a base menu link class.

Namespace

Drupal\Core\Menu

Code

public function getCacheTags() {
    return [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.