You are here

public function PhotosRandomImages::getCacheMaxAge in Album Photos 8.4

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/PhotosRandomImages.php, line 85

Class

PhotosRandomImages
Provides a 'Photos random images' block.

Namespace

Drupal\photos\Plugin\Block

Code

public function getCacheMaxAge() {
  return 0;
}