public function ModerationDashboard::getCacheMaxAge in Moderation Dashboard 2.0.x
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/ access/ ModerationDashboard.php, line 55
Class
- ModerationDashboard
- Access plugin that provides access control for Scheduler.
Namespace
Drupal\moderation_dashboard\Plugin\views\accessCode
public function getCacheMaxAge() {
return Cache::PERMANENT;
}