function 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();
}

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