You are here

protected function Synonym::invalidateTagsOnSave in Synonyms 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/Synonym.php \Drupal\synonyms\Entity\Synonym::invalidateTagsOnSave()

Override to never invalidate the entity's cache tag; the config system already invalidates it.

Overrides ConfigEntityBase::invalidateTagsOnSave

File

src/Entity/Synonym.php, line 221

Class

Synonym
Synonym configuration entity.

Namespace

Drupal\synonyms\Entity

Code

protected function invalidateTagsOnSave($update) {
  parent::invalidateTagsOnSave($update);
  Cache::invalidateTags($this->cacheTags);
}