You are here

public function EventsIndex::getCacheMaxAge in Booking and Availability Management API 8

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/ServiceDefinition/EventsIndex.php, line 99
Contains \Drupal\bat_api\Plugin\ServiceDefinition\EventsIndex.php

Class

EventsIndex
Plugin annotation @ServiceDefinition( id = "events_index", methods = { "GET" }, translatable = true, deriver = "\Drupal\bat_api\Plugin\Deriver\EventsIndex" )

Namespace

Drupal\bat_api\Plugin\ServiceDefinition

Code

public function getCacheMaxAge() {
  return 0;
}