8.3.x EntityType.php public EntityType::getListCacheTags()
8.0.x EntityType.php public EntityType::getListCacheTags()
8.1.x EntityType.php public EntityType::getListCacheTags()
8.2.x EntityType.php public EntityType::getListCacheTags()
8.4.x EntityType.php EntityType::getListCacheTags()

The list cache tags associated with this entity type.

Enables code listing entities of this type to ensure that newly created entities show up immediately.

Return value

string[]

Overrides EntityTypeInterface::getListCacheTags

File

core/lib/Drupal/Core/Entity/EntityType.php, line 815

Class

EntityType
Provides an implementation of an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function getListCacheTags() {
  return $this->list_cache_tags;
}