public function MenuPositionRule::getId in Menu Position 8
Returns the ID of the menu position rule.
Return value
int The unique identifier of the menu position rule
Overrides MenuPositionRuleInterface::getId
File
- src/
Entity/ MenuPositionRule.php, line 127
Class
- MenuPositionRule
- Defines the MenuPositionRule entity.
Namespace
Drupal\menu_position\EntityCode
public function getId() {
return $this->id;
}