public function LayoutOptionInterface::setWeight in Bootstrap Layout Builder 2.x
Same name and namespace in other branches
- 1.x src/LayoutOptionInterface.php \Drupal\bootstrap_layout_builder\LayoutOptionInterface::setWeight()
Sets the weight among layout options with the same depth.
Parameters
int $weight: The layout option weight.
Return value
$this The called layout option entity.
1 method overrides LayoutOptionInterface::setWeight()
- LayoutOption::setWeight in src/
Entity/ LayoutOption.php - Sets the weight among layout options with the same depth.
File
- src/
LayoutOptionInterface.php, line 75
Class
- LayoutOptionInterface
- Provides an interface defining a layout option entity.
Namespace
Drupal\bootstrap_layout_builderCode
public function setWeight($weight);