public static CacheContextsManager::parseTokens(array $context_tokens)
Parses cache context tokens into context IDs and optional parameters.
Parameters
string[] $context_tokens: An array of cache context tokens.
Return value
array An array with the parsed results, with each result being an array containing:
The cache context ID. The associated parameter (for a calculated cache context), or NULL if there is no parameter.
File
core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php, line