public function PageVariantInterface::setWeight in Page Manager 8.4
Same name and namespace in other branches
- 8 src/PageVariantInterface.php \Drupal\page_manager\PageVariantInterface::setWeight()
Sets the weight of this variant (compared to other variants on the page).
Parameters
int $weight: The weight of the variant.
Return value
$this
1 method overrides PageVariantInterface::setWeight()
- PageVariant::setWeight in src/
Entity/ PageVariant.php - Sets the weight of this variant (compared to other variants on the page).
File
- src/
PageVariantInterface.php, line 90
Class
- PageVariantInterface
- Provides an interface defining a PageVariant entity.
Namespace
Drupal\page_managerCode
public function setWeight($weight);