function ComputedString::getCacheMaxAge
Same name in other branches
- 9 core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php \Drupal\entity_test\TypedData\ComputedString::getCacheMaxAge()
- 8.9.x core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php \Drupal\entity_test\TypedData\ComputedString::getCacheMaxAge()
- 11.x core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php \Drupal\entity_test\TypedData\ComputedString::getCacheMaxAge()
Overrides CacheableDependencyInterface::getCacheMaxAge
File
-
core/
modules/ system/ tests/ modules/ entity_test/ src/ TypedData/ ComputedString.php, line 56
Class
- ComputedString
- A computed property for test strings.
Namespace
Drupal\entity_test\TypedDataCode
public function getCacheMaxAge() {
return Cache::PERMANENT;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.