public function Unavailable::resumeContextAccess in Payment 8.2
Checks if the payment type context can be resumed.
Parameters
\Drupal\Core\Session\AccountInterface $account:
Return value
\Drupal\Core\Access\AccessResultInterface
Overrides PaymentTypeInterface::resumeContextAccess
See also
self::getResumeContextResponse
File
- src/
Plugin/ Payment/ Type/ Unavailable.php, line 56
Class
- Unavailable
- An unavailable payment type.
Namespace
Drupal\payment\Plugin\Payment\TypeCode
public function resumeContextAccess(AccountInterface $account) {
return AccessResult::forbidden();
}