public function TestCacheableDependency::getCacheTags in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php \Drupal\Tests\Core\Render\TestCacheableDependency::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 CacheableDependencyInterface::getCacheTags
File
- core/
tests/ Drupal/ Tests/ Core/ Render/ TestCacheableDependency.php, line 33 - Contains \Drupal\Tests\Core\Render\TestCacheableDependency.
Class
- TestCacheableDependency
- Cacheable dependency object for use in tests.
Namespace
Drupal\Tests\Core\RenderCode
public function getCacheTags() {
return $this->tags;
}