public function CheckoutPaneInterface::setWeight in Commerce Core 8.2
Sets the pane weight.
Parameters
int $weight: The pane weight.
Return value
$this
1 method overrides CheckoutPaneInterface::setWeight()
- CheckoutPaneBase::setWeight in modules/
checkout/ src/ Plugin/ Commerce/ CheckoutPane/ CheckoutPaneBase.php - Sets the pane weight.
File
- modules/
checkout/ src/ Plugin/ Commerce/ CheckoutPane/ CheckoutPaneInterface.php, line 106
Class
- CheckoutPaneInterface
- Defines the interface for checkout panes.
Namespace
Drupal\commerce_checkout\Plugin\Commerce\CheckoutPaneCode
public function setWeight($weight);