public function PhotosAccess::getCacheMaxAge in Album Photos 8.5
Same name and namespace in other branches
- 6.0.x photos_access/src/Plugin/views/access/PhotosAccess.php \Drupal\photos_access\Plugin\views\access\PhotosAccess::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 CacheableDependencyInterface::getCacheMaxAge
File
- photos_access/
src/ Plugin/ views/ access/ PhotosAccess.php, line 140
Class
- PhotosAccess
- Access plugin for photos album and images.
Namespace
Drupal\photos_access\Plugin\views\accessCode
public function getCacheMaxAge() {
return Cache::PERMANENT;
}