You are here

protected function TagSet::invalidateTagsOnSave in Extensible BBCode 8.3

Same name and namespace in other branches
  1. 4.0.x src/Entity/TagSet.php \Drupal\xbbcode\Entity\TagSet::invalidateTagsOnSave()

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

Overrides ConfigEntityBase::invalidateTagsOnSave

File

src/Entity/TagSet.php, line 109

Class

TagSet
Represents a set of configured tags.

Namespace

Drupal\xbbcode\Entity

Code

protected function invalidateTagsOnSave($update) : void {
  parent::invalidateTagsOnSave($update);
  if ($update && ($tags = $this
    ->filterFormatCacheTags())) {
    Cache::invalidateTags($tags);
  }
}