20 string references to url_generator
- 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::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 - 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 - Tests language switcher links for domain based negotiation.
- LinkFormatterTest::testFormatterLinkItem in core/
modules/ link/ tests/ src/ Unit/ LinkFormatterTest.php - Tests when LinkItem::getUrl returns a functional URL.
- LinkFormatterTest::testFormatterLinkItemUrlMalformed in core/
modules/ link/ tests/ src/ Unit/ LinkFormatterTest.php - Tests when LinkItem::getUrl with malformed URL renders empty link.
- 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 absolute URL from a system path or a URL object.
- 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.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.