public function PhotosInformation::getCacheMaxAge in Album Photos 8.4
Same name and namespace in other branches
- 8.5 src/Plugin/Block/PhotosInformation.php \Drupal\photos\Plugin\Block\PhotosInformation::getCacheMaxAge()
- 6.0.x src/Plugin/Block/PhotosInformation.php \Drupal\photos\Plugin\Block\PhotosInformation::getCacheMaxAge()
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 ContextAwarePluginBase::getCacheMaxAge
File
- src/
Plugin/ Block/ PhotosInformation.php, line 159
Class
- PhotosInformation
- Provides a 'Photo information' block.
Namespace
Drupal\photos\Plugin\BlockCode
public function getCacheMaxAge() {
return 0;
}