You are here

public function PaymentMethodInterface::setLocked in Ubercart 8.4

Sets the lock status of this payment method.

Parameters

bool $locked: TRUE to lock payment method.

Return value

$this

1 method overrides PaymentMethodInterface::setLocked()
PaymentMethod::setLocked in payment/uc_payment/src/Entity/PaymentMethod.php
Sets the lock status of this payment method.

File

payment/uc_payment/src/PaymentMethodInterface.php, line 36

Class

PaymentMethodInterface
Provides an interface for defining payment method entities.

Namespace

Drupal\uc_payment

Code

public function setLocked($locked);