public function RenderedEntity::getCacheMaxAge in Entity API 8.0
The maximum age for which this object may be cached.
Return value
int The maximum time in seconds that this object may be cached.
Overrides CacheableDependencyInterface::getCacheMaxAge
File
- src/
Plugin/ views/ field/ RenderedEntity.php, line 153 - Contains \Drupal\entity\Plugin\views\field\RenderedEntity.
Class
- RenderedEntity
- Provides a field handler which renders an entity in a certain view mode.
Namespace
Drupal\entity\Plugin\views\fieldCode
public function getCacheMaxAge() {
return 0;
}