/** * {@inheritdoc} */ protected function invalidateTagsOnSave($update) { parent::invalidateTagsOnSave($update); if ($this->getJob()) { $tags = $this->getJob()->getEntityType()->getListCacheTags(); if ($update) { $tags = Cache::mergeTags($tags, $this->getJob()->getCacheTagsToInvalidate()); } Cache::invalidateTags($tags); } }