function CacheableDependencyTrait::getCacheTags

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php \Drupal\Core\Cache\CacheableDependencyTrait::getCacheTags()
  2. 10 core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php \Drupal\Core\Cache\CacheableDependencyTrait::getCacheTags()
  3. 11.x core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php \Drupal\Core\Cache\CacheableDependencyTrait::getCacheTags()
4 methods override CacheableDependencyTrait::getCacheTags()
AccessResult::getCacheTags in core/lib/Drupal/Core/Access/AccessResult.php
CacheableMetadata::getCacheTags in core/lib/Drupal/Core/Cache/CacheableMetadata.php
ConfigBase::getCacheTags in core/lib/Drupal/Core/Config/ConfigBase.php
EntityBase::getCacheTags in core/lib/Drupal/Core/Entity/EntityBase.php

File

core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php, line 49

Class

CacheableDependencyTrait
Trait for \Drupal\Core\Cache\CacheableDependencyInterface.

Namespace

Drupal\Core\Cache

Code

public function getCacheTags() {
    return $this->cacheTags;
}

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