Search for generateFromRoute

  1. Search 7.x for generateFromRoute
  2. Search 9.5.x for generateFromRoute
  3. Search 10.3.x for generateFromRoute
  4. Search 11.x for generateFromRoute
  5. Other projects
Title Object type File name Summary
MetadataBubblingUrlGenerator::generateFromRoute function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php Generates a URL or path for a specific route based on the given parameters.
SupernovaGenerator::generateFromRoute function core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php Generates a URL or path for a specific route based on the given parameters.
UrlGenerator::generateFromRoute function core/lib/Drupal/Core/Routing/UrlGenerator.php Generates a URL or path for a specific route based on the given parameters.
UrlGeneratorInterface::generateFromRoute function core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php Generates a URL or path for a specific route based on the given parameters.
UrlGeneratorTest::assertGenerateFromRoute function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Asserts \Drupal\Core\Routing\UrlGenerator::generateFromRoute()'s output.

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