function EntityTypeInterface::getBundleListCacheTags
The list cache tags associated with a specific bundle.
Enables code listing entities of this type and bundle to ensure that newly created entities show up immediately.
Return value
string[] An array of the cache tags for this bundle.
1 method overrides EntityTypeInterface::getBundleListCacheTags()
- EntityType::getBundleListCacheTags in core/
lib/ Drupal/ Core/ Entity/ EntityType.php - The list cache tags associated with a specific bundle.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityTypeInterface.php, line 745
Class
- EntityTypeInterface
- Provides an interface for an entity type and its metadata.
Namespace
Drupal\Core\EntityCode
public function getBundleListCacheTags(string $bundle) : array;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.