public function PaymentMethodUpdatePaymentStatusInterface::updatePaymentStatusAccess in Payment 8.2
Checks if the payment status can be updated.
Parameters
\Drupal\Core\Session\AccountInterface $account:
Return value
\Drupal\Core\Access\AccessResultInterface
1 method overrides PaymentMethodUpdatePaymentStatusInterface::updatePaymentStatusAccess()
- Basic::updatePaymentStatusAccess in src/
Plugin/ Payment/ Method/ Basic.php - Checks if the payment status can be updated.
File
- src/
Plugin/ Payment/ Method/ PaymentMethodUpdatePaymentStatusInterface.php, line 30
Class
- PaymentMethodUpdatePaymentStatusInterface
- Defines a payment method that controls payment status updates.
Namespace
Drupal\payment\Plugin\Payment\MethodCode
public function updatePaymentStatusAccess(AccountInterface $account);