protected function ConfigEntityBase::invalidateTagsOnSave

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!Entity!ConfigEntityBase.php/function/ConfigEntityBase::invalidateTagsOnSave/8.1.x