public function Webform::getWeight in Webform 8.5
Same name and namespace in other branches
- 6.x src/Entity/Webform.php \Drupal\webform\Entity\Webform::getWeight()
Returns the webform's weight.
Only applies to when multiple webforms are attached to a single node.
Return value
int The webform's weight.
Overrides WebformInterface::getWeight
File
- src/
Entity/ Webform.php, line 510
Class
- Webform
- Defines the webform entity.
Namespace
Drupal\webform\EntityCode
public function getWeight() {
return $this->weight;
}