public function PhotosInformation::getCacheMaxAge in Album Photos 6.0.x
Same name and namespace in other branches
- 8.5 src/Plugin/Block/PhotosInformation.php \Drupal\photos\Plugin\Block\PhotosInformation::getCacheMaxAge()
- 8.4 src/Plugin/Block/PhotosInformation.php \Drupal\photos\Plugin\Block\PhotosInformation::getCacheMaxAge()
Overrides ContextAwarePluginTrait::getCacheMaxAge
File
- src/
Plugin/ Block/ PhotosInformation.php, line 171
Class
- PhotosInformation
- Provides a 'Photo information' block.
Namespace
Drupal\photos\Plugin\BlockCode
public function getCacheMaxAge() {
// @todo look into cache_context service.
return 0;
}