You are here

public function UncacheableDependencyTrait::getCacheContexts in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Cache/UncacheableDependencyTrait.php \Drupal\Core\Cache\UncacheableDependencyTrait::getCacheContexts()

File

core/lib/Drupal/Core/Cache/UncacheableDependencyTrait.php, line 17

Class

UncacheableDependencyTrait
Trait to implement CacheableDependencyInterface for uncacheable objects.

Namespace

Drupal\Core\Cache

Code

public function getCacheContexts() {
  return [];
}