You are here

public function EntityQueueRelationship::getCacheMaxAge in Entityqueue 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/Plugin/views/relationship/EntityQueueRelationship.php, line 143

Class

EntityQueueRelationship
A relationship handler for entity queues.

Namespace

Drupal\entityqueue\Plugin\views\relationship

Code

public function getCacheMaxAge() {
  return Cache::PERMANENT;
}