You are here

public function PaymentMethod::isLocked in Ubercart 8.4

Determines if this payment method is locked.

Return value

bool TRUE if the payment method is locked, FALSE otherwise.

Overrides PaymentMethodInterface::isLocked

File

payment/uc_payment/src/Entity/PaymentMethod.php, line 108

Class

PaymentMethod
Defines a configured payment method.

Namespace

Drupal\uc_payment\Entity

Code

public function isLocked() {
  return (bool) $this->locked;
}