Search for collectRoutes

  1. Search 7.x for collectRoutes
  2. Search 8.9.x for collectRoutes
  3. Search 10.3.x for collectRoutes
  4. Search 11.x for collectRoutes
  5. Other projects
Title Object type File name Summary
CollectRoutesTest class core/modules/rest/tests/src/Unit/CollectRoutesTest.php Tests the REST export view plugin.
CollectRoutesTest.php file core/modules/rest/tests/src/Unit/CollectRoutesTest.php
CollectRoutesTest::$restExport property core/modules/rest/tests/src/Unit/CollectRoutesTest.php The REST export instance.
CollectRoutesTest::$routes property core/modules/rest/tests/src/Unit/CollectRoutesTest.php The RouteCollection.
CollectRoutesTest::setUp function core/modules/rest/tests/src/Unit/CollectRoutesTest.php
CollectRoutesTest::testRoutesRequirements function core/modules/rest/tests/src/Unit/CollectRoutesTest.php Tests if adding a requirement to a route only modify one route.
DisplayRouterInterface::collectRoutes function core/modules/views/src/Plugin/views/display/DisplayRouterInterface.php Adds the route entry of a view to the collection.
MenuTreeStorage::collectRoutesAndDefinitions function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Traverses the menu tree and collects all the route names and definitions.
MenuTreeStorage::doCollectRoutesAndDefinitions function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Collects all the route names and definitions.
PathPluginBase::collectRoutes function core/modules/views/src/Plugin/views/display/PathPluginBase.php Adds the route entry of a view to the collection.
PathPluginBaseTest::testCollectRoutes function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the collectRoutes method.
PathPluginBaseTest::testCollectRoutesWithArguments function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the collectRoutes method with arguments.
PathPluginBaseTest::testCollectRoutesWithArgumentsNotSpecifiedInPath function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the collectRoutes method with arguments not specified in the path.
PathPluginBaseTest::testCollectRoutesWithDisplayReturnResponse function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the collectRoutes method with a display returning a response.
PathPluginBaseTest::testCollectRoutesWithNamedParameters function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the collectRoutes method with a path containing named parameters.
PathPluginBaseTest::testCollectRoutesWithSpecialRouteName function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the collect routes method with an alternative route name in the UI.
RestExport::collectRoutes function core/modules/rest/src/Plugin/views/display/RestExport.php Adds the route entry of a view to the collection.

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