You are here

protected function TagSet::invalidateTagsOnSave in Extensible BBCode 4.0.x

Same name and namespace in other branches
  1. 8.3 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 108

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);
  }
}