function 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 833

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.