You are here

public function MenuRouterTest::testMenuIntegration in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php \Drupal\Tests\system\Functional\Menu\MenuRouterTest::testMenuIntegration()
  2. 9 core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php \Drupal\Tests\system\Functional\Menu\MenuRouterTest::testMenuIntegration()

Tests menu integration.

File

core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php, line 46

Class

MenuRouterTest
Tests menu router and default menu link functionality.

Namespace

Drupal\Tests\system\Functional\Menu

Code

public function testMenuIntegration() {
  $this
    ->doTestTitleMenuCallback();
  $this
    ->doTestMenuOptionalPlaceholders();
  $this
    ->doTestMenuHierarchy();
  $this
    ->doTestMenuOnRoute();
  $this
    ->doTestMenuName();
  $this
    ->doTestMenuLinksDiscoveredAlter();
  $this
    ->doTestHookMenuIntegration();
  $this
    ->doTestExoticPath();
}