EntityInterface::getCacheTagsToInvalidate

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();
doc_Drupal
2016-10-29 09:06:40
Comments
Leave a Comment

Please login to continue.