public function 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

public function getCacheTags() {
  return $this->getConfig()->getCacheTags();
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!StaticMenuLinkOverrides.php/function/StaticMenuLinkOverrides::getCacheTags/8.1.x