11 calls to Drupal::menuTree() in Drupal 10
- AdminTest::getTopLevelMenuLinks in core/
modules/ system/ tests/ src/ Functional/ System/ AdminTest.php - Returns all top level menu links.
- DisplayPageTest::testMenuLinks in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ DisplayPageTest.php - Tests the generated menu links of views.
- DisplayPathTest::testDefaultMenuTabRegression in core/
modules/ views_ui/ tests/ src/ Functional/ DisplayPathTest.php - Tests the regression in https://www.drupal.org/node/2532490.
- DrupalTest::testMenuTree in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the menuTree() method.
- MenuLinkContentCacheabilityBubblingTest::testOutboundPathAndRouteProcessing in core/
modules/ menu_link_content/ tests/ src/ Kernel/ MenuLinkContentCacheabilityBubblingTest.php - Tests bubbleable metadata of menu links' outbound route/path processing.
- MenuLinkContentDeriverTest::testRediscover in core/
modules/ menu_link_content/ tests/ src/ Kernel/ MenuLinkContentDeriverTest.php - Tests the rediscovering.
- MenuLinkDefaultIntegrationTest::testMoveToRoot in core/
tests/ Drupal/ KernelTests/ Core/ Menu/ MenuLinkDefaultIntegrationTest.php - Tests moving a static menu link without a specified menu to the root.
- MenuLinksTest::testMenuLinkOnEntityDelete in core/
modules/ menu_link_content/ tests/ src/ Kernel/ MenuLinksTest.php - Tests that menu link pointing to entities get removed on entity remove.
- MenuLinksTest::testPendingRevisions in core/
modules/ menu_link_content/ tests/ src/ Kernel/ MenuLinksTest.php - Tests handling of pending revisions.
- PathAliasMenuLinkContentTest::testPathAliasChange in core/
modules/ menu_link_content/ tests/ src/ Kernel/ PathAliasMenuLinkContentTest.php - Tests the path aliasing changing.
- system_get_module_admin_tasks in core/
modules/ system/ system.module - Generate a list of tasks offered by a specified module.