You are here

public function MenuLinkBase::getCacheTags in Drupal 8

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

The cache tags associated with this object.

When this object is modified, these cache tags will be invalidated.

Return value

string[] A set of cache tags.

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 187

Class

MenuLinkBase
Defines a base menu link class.

Namespace

Drupal\Core\Menu

Code

public function getCacheTags() {
  return [];
}