function TextProcessed::getCacheMaxAge
Same name in other branches
- 8.9.x core/modules/text/src/TextProcessed.php \Drupal\text\TextProcessed::getCacheMaxAge()
- 10 core/modules/text/src/TextProcessed.php \Drupal\text\TextProcessed::getCacheMaxAge()
- 11.x core/modules/text/src/TextProcessed.php \Drupal\text\TextProcessed::getCacheMaxAge()
Overrides CacheableDependencyInterface::getCacheMaxAge
File
-
core/
modules/ text/ src/ TextProcessed.php, line 98
Class
- TextProcessed
- A computed property for processing text with a format.
Namespace
Drupal\textCode
public function getCacheMaxAge() {
$this->getValue();
return $this->processed
->getCacheMaxAge();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.