Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CacheContextsManager.php

function CacheContextsManager::getAll

Provides an array of available cache contexts.

Return value

string[] An array of available cache context IDs.

File

core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php, line 63

Class

CacheContextsManager
Converts cache context tokens into cache keys.

Namespace

Drupal\Core\Cache\Context

Code

public function getAll() {
    return $this->contexts;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal