function ContextCacheKeys::getKeys

Same name in other branches
  1. 9 core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php \Drupal\Core\Cache\Context\ContextCacheKeys::getKeys()
  2. 8.9.x core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php \Drupal\Core\Cache\Context\ContextCacheKeys::getKeys()
  3. 10 core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php \Drupal\Core\Cache\Context\ContextCacheKeys::getKeys()

Gets the generated cache keys.

Return value

string[] The cache keys.

File

core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php, line 40

Class

ContextCacheKeys
A value object to store generated cache keys with its cacheability metadata.

Namespace

Drupal\Core\Cache\Context

Code

public function getKeys() {
    return $this->keys;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.