ConfigEntityBase::invalidateTagsOnDelete

protected static ConfigEntityBase::invalidateTagsOnDelete(EntityTypeInterface $entity_type, array $entities)

Override to never invalidate the individual entities' cache tags; the config system already invalidates them.

Overrides Entity::invalidateTagsOnDelete

File

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

Class

ConfigEntityBase
Defines a base configuration entity class.

Namespace

Drupal\Core\Config\Entity

Code

protected static function invalidateTagsOnDelete(EntityTypeInterface $entity_type, array $entities) {
  Cache::invalidateTags($entity_type->getListCacheTags());
}
doc_Drupal
2016-10-29 08:52:28
Comments
Leave a Comment

Please login to continue.