public function PageVariant::getWeight in Page Manager 8.4
Same name and namespace in other branches
- 8 src/Entity/PageVariant.php \Drupal\page_manager\Entity\PageVariant::getWeight()
Gets the weight of this variant (compared to other variants on the page).
Return value
int
Overrides PageVariantInterface::getWeight
File
- src/
Entity/ PageVariant.php, line 297
Class
- PageVariant
- Defines the page variant entity.
Namespace
Drupal\page_manager\EntityCode
public function getWeight() {
return $this->weight;
}