public function AccessResult::getCacheTags in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Access/AccessResult.php \Drupal\Core\Access\AccessResult::getCacheTags()
The cache tags associated with this object.
When this object is modified, these cache tags will be invalidated.
Return value
string[] A set of cache tags.
Overrides CacheableDependencyTrait::getCacheTags
File
- core/
lib/ Drupal/ Core/ Access/ AccessResult.php, line 215
Class
- AccessResult
- Value object for passing an access result with cacheability metadata.
Namespace
Drupal\Core\AccessCode
public function getCacheTags() {
return $this->cacheTags;
}