You are here

public function FulfillmentMethod::getWeight in Ubercart 8.4

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

Return value

int The fulfillment method weight.

Overrides FulfillmentMethodInterface::getWeight

File

shipping/uc_fulfillment/src/Entity/FulfillmentMethod.php, line 106

Class

FulfillmentMethod
Defines a configured fulfillment method.

Namespace

Drupal\uc_fulfillment\Entity

Code

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