public function 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\ContextCode
public function getAll() { return $this->contexts; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Cache!Context!CacheContextsManager.php/function/CacheContextsManager::getAll/8.1.x