public function MenuLinkMock::getCacheTags in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php \Drupal\Tests\Core\Menu\MenuLinkMock::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 MenuLinkBase::getCacheTags
File
- core/
tests/ Drupal/ Tests/ Core/ Menu/ MenuLinkMock.php, line 85 - Contains \Drupal\Tests\Core\Menu\MenuLinkMock.
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'];
}