function MenuLinkMock::getCacheTags
Overrides MenuLinkBase::getCacheTags
File
-
core/
tests/ Drupal/ Tests/ Core/ Menu/ MenuLinkMock.php, line 80
Class
- MenuLinkMock
- Defines a mock implementation of a menu link used in tests only.
Namespace
Drupal\Tests\Core\MenuCode
public function getCacheTags() {
return $this->pluginDefinition['metadata']['cache_tags'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.