You are here

public function TextProcessed::getCacheTags in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/text/src/TextProcessed.php \Drupal\text\TextProcessed::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/modules/text/src/TextProcessed.php, line 82

Class

TextProcessed
A computed property for processing text with a format.

Namespace

Drupal\text

Code

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