8 calls to MenuLinkMock::create()
- DefaultMenuLinkTreeManipulatorsTest::mockTree in core/
tests/ Drupal/ Tests/ Core/ Menu/ DefaultMenuLinkTreeManipulatorsTest.php - Creates a mock tree.
- DefaultMenuLinkTreeManipulatorsTest::testCheckNodeAccess in core/
tests/ Drupal/ Tests/ Core/ Menu/ DefaultMenuLinkTreeManipulatorsTest.php - Tests the optimized node access checking.
- MenuActiveTrailTest::provider in core/
tests/ Drupal/ Tests/ Core/ Menu/ MenuActiveTrailTest.php - Provides test data for all test methods.
- MenuLinkTreeElementTest::testConstruction in core/
tests/ Drupal/ Tests/ Core/ Menu/ MenuLinkTreeElementTest.php - Tests construction.
- MenuLinkTreeElementTest::testCount in core/
tests/ Drupal/ Tests/ Core/ Menu/ MenuLinkTreeElementTest.php - Tests count().
- MenuLinkTreeTest::providerTestBuildCacheability in core/
modules/ system/ tests/ src/ Unit/ Menu/ MenuLinkTreeTest.php - Provides the test cases to test for ::testBuildCacheability().
- MenuLinkTreeTest::testCreateLinksInMenu in core/
tests/ Drupal/ KernelTests/ Core/ Menu/ MenuLinkTreeTest.php - Tests creating links with an expected tree structure.
- SystemMenuBlockTest::setUp in core/
modules/ system/ tests/ src/ Kernel/ Block/ SystemMenuBlockTest.php
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.