Menu::$id

Same name in other branches
  1. 8.9.x core/modules/system/src/Entity/Menu.php \Drupal\system\Entity\Menu::id
  2. 10 core/modules/system/src/Entity/Menu.php \Drupal\system\Entity\Menu::id
  3. 11.x core/modules/system/src/Entity/Menu.php \Drupal\system\Entity\Menu::id

The menu machine name.

Type: string

File

core/modules/system/src/Entity/Menu.php, line 46

Class

Menu
Defines the Menu configuration entity class.

Namespace

Drupal\system\Entity

Code

protected $id;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.