function TestCacheableDependency::getCacheTags

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php \Drupal\Tests\Core\Render\TestCacheableDependency::getCacheTags()
  2. 8.9.x core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php \Drupal\Tests\Core\Render\TestCacheableDependency::getCacheTags()
  3. 10 core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php \Drupal\Tests\Core\Render\TestCacheableDependency::getCacheTags()

Overrides CacheableDependencyInterface::getCacheTags

File

core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php, line 34

Class

TestCacheableDependency
Cacheable dependency object for use in tests.

Namespace

Drupal\Tests\Core\Render

Code

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

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