public function PaymentMethodBase::getCacheMaxAge in Payment 8.2
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/ Payment/ Method/ PaymentMethodBase.php, line 110
Class
- PaymentMethodBase
- A base payment method plugin.
Namespace
Drupal\payment\Plugin\Payment\MethodCode
public function getCacheMaxAge() {
return Cache::PERMANENT;
}