public function UnsavedIndexConfiguration::getCacheMaxAge in Search 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 CacheableDependencyInterface::getCacheMaxAge
File
- src/
UnsavedIndexConfiguration.php, line 1043
Class
- UnsavedIndexConfiguration
- Represents a configuration of an index that was not yet permanently saved.
Namespace
Drupal\search_apiCode
public function getCacheMaxAge() {
return $this->entity
->getCacheMaxAge();
}