MenuUiTest::$menu

Same name in other branches
  1. 9 core/modules/menu_ui/tests/src/Functional/MenuUiTest.php \Drupal\Tests\menu_ui\Functional\MenuUiTest::menu
  2. 10 core/modules/menu_ui/tests/src/Functional/MenuUiTest.php \Drupal\Tests\menu_ui\Functional\MenuUiTest::menu
  3. 11.x core/modules/menu_ui/tests/src/Functional/MenuUiTest.php \Drupal\Tests\menu_ui\Functional\MenuUiTest::menu

A test menu.

Type: \Drupal\system\Entity\Menu

File

core/modules/menu_ui/tests/src/Functional/MenuUiTest.php, line 74

Class

MenuUiTest
Add a custom menu, add menu links to the custom menu and Tools menu, check their data, and delete them using the UI.

Namespace

Drupal\Tests\menu_ui\Functional

Code

protected $menu;

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