public function Domain::getCacheMaxAge in Domain Access 8
Same name in this branch
- 8 domain/src/Plugin/views/argument_default/Domain.php \Drupal\domain\Plugin\views\argument_default\Domain::getCacheMaxAge()
- 8 domain/src/Plugin/views/access/Domain.php \Drupal\domain\Plugin\views\access\Domain::getCacheMaxAge()
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
- domain/
src/ Plugin/ views/ access/ Domain.php, line 170
Class
- Domain
- Access plugin that provides domain-based access control.
Namespace
Drupal\domain\Plugin\views\accessCode
public function getCacheMaxAge() {
return Cache::PERMANENT;
}