You are here

public function PaymentMethod::getWeight in Ubercart 8.4

Returns the weight of this payment method (used for sorting).

Return value

int The payment method weight.

Overrides PaymentMethodInterface::getWeight

File

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

Class

PaymentMethod
Defines a configured payment method.

Namespace

Drupal\uc_payment\Entity

Code

public function getWeight() {
  return $this->weight;
}