StaticMenuLinkOverrides::getCacheTags

public StaticMenuLinkOverrides::getCacheTags()

The unique cache tag associated with this menu link override.

Return value

string[] An array of cache tags.

Overrides StaticMenuLinkOverridesInterface::getCacheTags

File

core/lib/Drupal/Core/Menu/StaticMenuLinkOverrides.php, line 158

Class

StaticMenuLinkOverrides
Defines an implementation of the menu link override using a config file.

Namespace

Drupal\Core\Menu

Code

1
2
3
public function getCacheTags() {
  return $this->getConfig()->getCacheTags();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.