You are here

public function PageVariant::getWeight in Page Manager 8

Same name and namespace in other branches
  1. 8.4 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 302
Contains Drupal\page_manager\Entity\PageVariant.

Class

PageVariant
Defines the page variant entity.

Namespace

Drupal\page_manager\Entity

Code

public function getWeight() {
  return $this->weight;
}