You are here

public function CheckoutPaneBase::setWeight in Commerce Core 8.2

Sets the pane weight.

Parameters

int $weight: The pane weight.

Return value

$this

Overrides CheckoutPaneInterface::setWeight

File

modules/checkout/src/Plugin/Commerce/CheckoutPane/CheckoutPaneBase.php, line 201

Class

CheckoutPaneBase
Provides the base checkout pane class.

Namespace

Drupal\commerce_checkout\Plugin\Commerce\CheckoutPane

Code

public function setWeight($weight) {
  $this->configuration['weight'] = $weight;
}