public function ContactSubtype::getCacheMaxAge in CiviCRM Entity 8.3
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/ argument_default/ ContactSubtype.php, line 146
Class
- ContactSubtype
- Default argument plugin to extract the current user's civicrm contact subtype
Namespace
Drupal\civicrm_entity\Plugin\views\argument_defaultCode
public function getCacheMaxAge() {
return Cache::PERMANENT;
}