Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::getListCacheTags()
  2. 9 core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\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 839

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;
}