public function AccessResult::getCacheContexts in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Access/AccessResult.php \Drupal\Core\Access\AccessResult::getCacheContexts()
- 9 core/lib/Drupal/Core/Access/AccessResult.php \Drupal\Core\Access\AccessResult::getCacheContexts()
File
- core/
lib/ Drupal/ Core/ Access/ AccessResult.php, line 208
Class
- AccessResult
- Value object for passing an access result with cacheability metadata.
Namespace
Drupal\Core\AccessCode
public function getCacheContexts() {
return $this->cacheContexts;
}