public function CurrentContact::getCacheMaxAge in RedHen CRM 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
- modules/
redhen_contact/ src/ Plugin/ views/ argument_default/ CurrentContact.php, line 32
Class
- CurrentContact
- Default argument plugin to extract the current user's Redhen Contact.
Namespace
Drupal\redhen_contact\Plugin\views\argument_defaultCode
public function getCacheMaxAge() {
return Cache::PERMANENT;
}