public EntityTypeInterface::getListCacheContexts()
The list cache contexts associated with this entity type.
Enables code listing entities of this type to ensure that rendered listings are varied as necessary, typically to ensure users of role A see other entities listed than users of role B.
Return value
string[]
File
- core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 701
Class
- EntityTypeInterface
- Provides an interface for an entity type and its metadata.
Namespace
Drupal\Core\Entity
Code
public function getListCacheContexts();
Please login to continue.