You are here

public function Basic::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

Overrides PaymentMethodUpdatePaymentStatusInterface::updatePaymentStatusAccess

File

src/Plugin/Payment/Method/Basic.php, line 186

Class

Basic
A basic payment method that does not transfer money.

Namespace

Drupal\payment\Plugin\Payment\Method

Code

public function updatePaymentStatusAccess(AccountInterface $account) {
  return AccessResult::forbidden();
}