8.3.x ConfigEntityBase.php protected ConfigEntityBase::invalidateTagsOnSave($update)
8.0.x ConfigEntityBase.php protected ConfigEntityBase::invalidateTagsOnSave($update)
8.1.x ConfigEntityBase.php protected ConfigEntityBase::invalidateTagsOnSave($update)
8.2.x ConfigEntityBase.php protected ConfigEntityBase::invalidateTagsOnSave($update)
8.4.x ConfigEntityBase.php protected ConfigEntityBase::invalidateTagsOnSave($update)

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

Overrides Entity::invalidateTagsOnSave

File

core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 516

Class

ConfigEntityBase
Defines a base configuration entity class.

Namespace

Drupal\Core\Config\Entity

Code

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