You are here

public function ViewmodepagePattern::getWeight in View Mode Page 8.3

Same name and namespace in other branches
  1. 4.0.x src/Entity/ViewmodepagePattern.php \Drupal\view_mode_page\Entity\ViewmodepagePattern::getWeight()
  2. 3.2.x src/Entity/ViewmodepagePattern.php \Drupal\view_mode_page\Entity\ViewmodepagePattern::getWeight()

Gets the weight of this pattern (compared to other patterns of this type).

Return value

int Returns the weight

Overrides ViewmodepagePatternInterface::getWeight

File

src/Entity/ViewmodepagePattern.php, line 267

Class

ViewmodepagePattern
Defines the Viewmodepage pattern entity.

Namespace

Drupal\view_mode_page\Entity

Code

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