protected function EntityQueue::invalidateTagsOnSave in Entityqueue 8
Override to never invalidate the entity's cache tag; the config system already invalidates it.
Overrides ConfigEntityBase::invalidateTagsOnSave
File
- src/
Entity/ EntityQueue.php, line 298
Class
- EntityQueue
- Defines the EntityQueue entity class.
Namespace
Drupal\entityqueue\EntityCode
protected function invalidateTagsOnSave($update) {
// In addition to the parent implementation, we also need to invalidate
// queue-specific cache tags.
$tags = Cache::mergeTags($this
->getEntityType()
->getListCacheTags(), $this
->getCacheTagsToInvalidate());
Cache::invalidateTags($tags);
}