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