Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::invalidateTagsOnSave()
  2. 9 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::invalidateTagsOnSave()

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

Overrides EntityBase::invalidateTagsOnSave

File

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

Class

ConfigEntityBase

Namespace

Drupal\Core\Config\Entity

Code

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