public function ToolbarMenuElement::weight in Toolbar Menu 8
Same name and namespace in other branches
- 8.2 src/Entity/ToolbarMenuElement.php \Drupal\toolbar_menu\Entity\ToolbarMenuElement::weight()
Get the 'weight' property.
Return value
mixed|null The weight property
File
- src/
Entity/ ToolbarMenuElement.php, line 93
Class
- ToolbarMenuElement
- Defines the Toolbar element entity.
Namespace
Drupal\toolbar_menu\EntityCode
public function weight() {
return $this
->get('weight');
}