public function ViewmodepagePattern::getWeight in View Mode Page 4.0.x
Same name and namespace in other branches
- 8.3 src/Entity/ViewmodepagePattern.php \Drupal\view_mode_page\Entity\ViewmodepagePattern::getWeight()
- 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\EntityCode
public function getWeight() {
return $this->weight;
}