public EntityInterface::getCacheTagsToInvalidate()
Returns the cache tags that should be used to invalidate caches.
This will not return additional cache tags added through addCacheTags().
Return value
string[] Set of cache tags.
See also
\Drupal\Core\Cache\RefinableCacheableDependencyInterface::addCacheTags()
\Drupal\Core\Cache\CacheableDependencyInterface::getCacheTags()
File
- core/lib/Drupal/Core/Entity/EntityInterface.php, line 435
Class
- EntityInterface
- Defines a common interface for all entity objects.
Namespace
Drupal\Core\Entity
Code
public function getCacheTagsToInvalidate();
Please login to continue.