public function PaymentForm::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
- modules/
payment_form/ src/ Plugin/ Payment/ Type/ PaymentForm.php, line 97
Class
- PaymentForm
- The payment form field payment type.
Namespace
Drupal\payment_form\Plugin\Payment\TypeCode
public function resumeContextAccess(AccountInterface $account) {
return AccessResult::allowed();
}