You are here

public function EntityBase::getCacheContexts in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::getCacheContexts()
  2. 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::getCacheContexts()

File

core/lib/Drupal/Core/Entity/EntityBase.php, line 436

Class

EntityBase
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

public function getCacheContexts() {
  return $this->cacheContexts;
}