CacheContextsManager::getAll

public 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 58

Class

CacheContextsManager
Converts cache context tokens into cache keys.

Namespace

Drupal\Core\Cache\Context

Code

public function getAll() {
  return $this->contexts;
}
doc_Drupal
2016-10-29 08:49:27
Comments
Leave a Comment

Please login to continue.