public function CalendarEventsIndex::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/ CalendarEventsIndex.php, line 125 - Contains \Drupal\bat_api\Plugin\ServiceDefinition\CalendarEventsIndex.php
Class
- CalendarEventsIndex
- Plugin annotation @ServiceDefinition( id = "calendar_events_index", methods = { "GET" }, translatable = true, deriver = "\Drupal\bat_api\Plugin\Deriver\CalendarEventsIndex" )
Namespace
Drupal\bat_api\Plugin\ServiceDefinitionCode
public function getCacheMaxAge() {
return 0;
}