23 string references to url_generator in Drupal 8
- BlockContentBlock::create in core/
modules/ block_content/ src/ Plugin/ Block/ BlockContentBlock.php - Creates an instance of the plugin.
- ConfigNamesMapperTest::setUp in core/
modules/ config_translation/ tests/ src/ Unit/ ConfigNamesMapperTest.php - Drupal::urlGenerator in core/
lib/ Drupal.php - Returns the url generator service.
- DrupalTest::testUrl in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the url() method.
- DrupalTest::testUrlGenerator in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the urlGenerator() method.
- EngineTwigTest::testTwigUrlGenerator in core/
modules/ system/ tests/ src/ Functional/ Theme/ EngineTwigTest.php - Tests the url and url_generate Twig functions.
- EntityController::create in core/
lib/ Drupal/ Core/ Entity/ Controller/ EntityController.php - Instantiates a new instance of this class.
- EntityUrlTest::testUriRelationships in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUrlTest.php - Tests the uriRelationships() method.
- FieldPluginBaseTest::setUp in core/
modules/ views/ tests/ src/ Unit/ Plugin/ field/ FieldPluginBaseTest.php - FormatSpecificGetBcRouteTestTrait::testFormatSpecificGetBcRoute in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ FormatSpecificGetBcRouteTestTrait.php - @group legacy
- FormatSpecificGetBcRouteTestTrait::testNoFormatSpecificGetBcRouteForOtherFormats in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ FormatSpecificGetBcRouteTestTrait.php - @group legacy
- FormSubmitterTest::testRedirectWithoutResult in core/
tests/ Drupal/ Tests/ Core/ Form/ FormSubmitterTest.php - Tests the redirectForm() method when no redirect is expected.
- FormSubmitterTest::testRedirectWithUrl in core/
tests/ Drupal/ Tests/ Core/ Form/ FormSubmitterTest.php - Tests redirectForm() when a redirect is a Url object.
- HelpEmptyPageTest::register in core/
modules/ help/ tests/ src/ Kernel/ HelpEmptyPageTest.php - Registers test-specific services.
- LanguageSwitchingTest::testLanguageBlockWithDomain in core/
modules/ language/ tests/ src/ Functional/ LanguageSwitchingTest.php - Test language switcher links for domain based negotiation.
- PreprocessPagerTest::setUp in core/
modules/ system/ tests/ src/ Unit/ Pager/ PreprocessPagerTest.php - RenderElementTest::testPreRenderAjaxForm in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ RenderElementTest.php - @covers ::preRenderAjaxForm
- RenderElementTest::testPreRenderAjaxFormWithQueryOptions in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ RenderElementTest.php - @covers ::preRenderAjaxForm
- UiHelperTrait::buildUrl in core/
tests/ Drupal/ Tests/ UiHelperTrait.php - Builds an a absolute URL from a system path or a URL object.
- UrlGeneratorTrait::getUrlGenerator in core/
lib/ Drupal/ Core/ Routing/ UrlGeneratorTrait.php - Returns the URL generator service.
- UrlTest::setUp in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - ViewsForm::create in core/
modules/ views/ src/ Form/ ViewsForm.php - Instantiates a new instance of this class.
- WebTestBase::buildUrl in core/
modules/ simpletest/ src/ WebTestBase.php - Builds an a absolute URL from a system path or a URL object.