public function Basic::getSettablePaymentStatuses in Payment 8.2
Returns the statuses that can be set on a payment.
Parameters
\Drupal\Core\Session\AccountInterface $account:
\Drupal\payment\Entity\PaymentInterface $payment: The payment to set the status on.
Return value
string[] The plugin IDs of the settable statuses.
Overrides PaymentMethodUpdatePaymentStatusInterface::getSettablePaymentStatuses
File
- src/
Plugin/ Payment/ Method/ Basic.php, line 193
Class
- Basic
- A basic payment method that does not transfer money.
Namespace
Drupal\payment\Plugin\Payment\MethodCode
public function getSettablePaymentStatuses(AccountInterface $account, PaymentInterface $payment) {
return [];
}