96 calls to Url::fromRoute()
- ActiveWorkspaceTestForm::buildForm in core/
modules/ workspaces/ tests/ modules/ workspaces_test/ src/ Form/ ActiveWorkspaceTestForm.php - Form constructor.
- batch_process in core/
includes/ form.inc - Processes the batch.
- BlockHooks::pageTop in core/
modules/ block/ src/ Hook/ BlockHooks.php - Implements hook_page_top().
- BreadcrumbTest::testSetLinks in core/
tests/ Drupal/ Tests/ Core/ Breadcrumb/ BreadcrumbTest.php - @covers ::setLinks[[api-linebreak]]
- CommentExtrasTest::testPostIndividualDxWithoutCriticalBaseFields in core/
modules/ jsonapi/ tests/ src/ Functional/ CommentExtrasTest.php - Tests POSTing a comment without critical base fields.
- CommentExtrasTest::testPostIndividualSkipCommentApproval in core/
modules/ jsonapi/ tests/ src/ Functional/ CommentExtrasTest.php - Tests POSTing a comment with and without 'skip comment approval'.
- CommentTestHooks::commentLinksAlter in core/
modules/ comment/ tests/ modules/ comment_test/ src/ Hook/ CommentTestHooks.php - Implements hook_comment_links_alter().
- ConfirmFormHelperTest::testCancelLinkDestination in core/
tests/ Drupal/ Tests/ Core/ Form/ ConfirmFormHelperTest.php - Tests a cancel link provided by the destination.
- ConfirmFormHelperTest::testCancelLinkRoute in core/
tests/ Drupal/ Tests/ Core/ Form/ ConfirmFormHelperTest.php - Tests a cancel link route.
- ConfirmFormHelperTest::testCancelLinkRouteWithParams in core/
tests/ Drupal/ Tests/ Core/ Form/ ConfirmFormHelperTest.php - Tests a cancel link route with parameters.
- ContentLengthTest::testContentLength in core/
tests/ Drupal/ FunctionalTests/ HttpKernel/ ContentLengthTest.php - ContentTranslationNewTranslationWithExistingRevisionsTest::testCreatingNewDraftDoesNotInvokeDeleteHook in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationNewTranslationWithExistingRevisionsTest.php - Test translation delete hooks are not invoked.
- ContentTranslationNewTranslationWithExistingRevisionsTest::testDraftTranslationIsNotDeleted in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationNewTranslationWithExistingRevisionsTest.php - Tests a translation with a draft is not deleted.
- CustomPageExceptionHtmlSubscriberTest::setUp in core/
tests/ Drupal/ Tests/ Core/ EventSubscriber/ CustomPageExceptionHtmlSubscriberTest.php - DbLogResourceTest::testWatchdog in core/
modules/ dblog/ tests/ src/ Functional/ DbLogResourceTest.php - Writes a log messages and retrieves it via the REST API.
- DemoUmamiHooks::toolbar in core/
profiles/ demo_umami/ src/ Hook/ DemoUmamiHooks.php - Implements hook_toolbar().
- DestructableServiceTest::testDestructableServiceExecutionOrder in core/
tests/ Drupal/ FunctionalTests/ HttpKernel/ DestructableServiceTest.php - DevelopmentSettingsFormTest::testDisabledRenderedOutputCacheBins in core/
modules/ system/ tests/ src/ FunctionalJavascript/ Form/ DevelopmentSettingsFormTest.php - Tests disabling cache bins which cache markup.
- DevelopmentSettingsFormTest::testTwigDevelopmentMode in core/
modules/ system/ tests/ src/ FunctionalJavascript/ Form/ DevelopmentSettingsFormTest.php - Tests turning on Twig development mode.
- DialogFormLink::makeDialogFormLink in core/
modules/ system/ tests/ modules/ ajax_forms_test/ src/ Controller/ DialogFormLink.php - Builds an associative array representing a link that opens a dialog.
- EntityDeleteFormTrait::getRedirectUrl in core/
lib/ Drupal/ Core/ Entity/ EntityDeleteFormTrait.php - Returns the URL where the user should be redirected after deletion.
- EntityListBuilderTest::testGetOperations in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityListBuilderTest.php - @covers ::getOperations[[api-linebreak]]
- EntityTestHooks::entityOperationAlter in core/
modules/ system/ tests/ modules/ entity_test/ src/ Hook/ EntityTestHooks.php - Implements hook_entity_operation_alter().
- EntityTestOperationHooks::entityOperation in core/
modules/ system/ tests/ modules/ entity_test_operation/ src/ Hook/ EntityTestOperationHooks.php - Implements hook_entity_operation().
- EntityUrlTest::providerTestToUrlUriCallback in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUrlTest.php - Provides data for testToUrlUriCallback().
- EquivalentUpdateTest::setUp in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ EquivalentUpdateTest.php - FieldUiHooks::entityOperation in core/
modules/ field_ui/ src/ Hook/ FieldUiHooks.php - Implements hook_entity_operation().
- FileFieldWidgetClaroThemeTest::testWidgetDefaultVisibilitySettings in core/
modules/ file/ tests/ src/ FunctionalJavascript/ FileFieldWidgetClaroThemeTest.php - Tests that the field widget visibility settings are respected on the form.
- HelpTopicPluginBase::toUrl in core/
modules/ help/ src/ HelpTopicPluginBase.php - Returns the URL for viewing the help topic.
- HelpTopicPluginController::viewHelpTopic in core/
modules/ help/ src/ Controller/ HelpTopicPluginController.php - Displays a help topic page.
- HelpTwigExtension::getRouteLink in core/
modules/ help/ src/ HelpTwigExtension.php - Returns a link or plain text, given text, route name, and parameters.
- hook_entity_operation in core/
lib/ Drupal/ Core/ Entity/ entity.api.php - Declares entity operations.
- HtmxTestAttachmentsController::generateHtmxButton in core/
modules/ system/ tests/ modules/ test_htmx/ src/ Controller/ HtmxTestAttachmentsController.php - Static helper to for reusable render array.
- JsonApiFilterRegressionTest::testEmptyRelationshipFilteringFromIssue3025372 in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiFilterRegressionTest.php - Ensure filtering for entities with empty entity reference fields works.
- JsonApiPatchRegressionTest::testBundlelessRelationshipMutationFromIssue2973681 in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiPatchRegressionTest.php - Ensure POST and PATCH works for bundle-less relationship routes.
- JsWebAssertTestForm::addLink in core/
modules/ system/ tests/ modules/ jswebassert_test/ src/ Form/ JsWebAssertTestForm.php - Ajax callback for the "Add link" button.
- LazyBuilders::renderAnnouncements in core/
modules/ announcements_feed/ src/ LazyBuilders.php - Render announcements.
- LinkGeneratorTest::testGenerateButton in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the generate() method with the <button> route.
- LinkGeneratorTest::testGenerateNoLink in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the generate() method with the <nolink> route.
- LinkGeneratorTest::testGenerateNone in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the generate() method with the <none> route.
- LinkGeneratorTest::testGenerateTwice in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests whether rendering the same link twice works.
- LocalActionManager::getActionsForRoute in core/
lib/ Drupal/ Core/ Menu/ LocalActionManager.php - Finds all local actions that appear on a named route.
- LocalActionManagerTest::getActionsForRouteProvider in core/
tests/ Drupal/ Tests/ Core/ Menu/ LocalActionManagerTest.php - LocalTaskManager::getTasksBuild in core/
lib/ Drupal/ Core/ Menu/ LocalTaskManager.php - Gets the render array for all local tasks.
- MediaHooks::fieldWidgetCompleteFormAlter in core/
modules/ media/ src/ Hook/ MediaHooks.php - Implements hook_field_widget_complete_form_alter().
- MediaUiReferenceWidgetTest::testMediaReferenceWidget in core/
modules/ media/ tests/ src/ Functional/ MediaUiReferenceWidgetTest.php - Tests the default autocomplete widgets for media reference fields.
- MenuLinkBase::getEditRoute in core/
lib/ Drupal/ Core/ Menu/ MenuLinkBase.php - Returns route information for a custom edit form for the menu link.
- MenuLinkDefault::getResetRoute in core/
lib/ Drupal/ Core/ Menu/ MenuLinkDefault.php - Returns route information for a route to reset the menu link.
- MenuOperationsLinkTestHooks::entityOperation in core/
modules/ menu_link_content/ tests/ menu_operations_link_test/ src/ Hook/ MenuOperationsLinkTestHooks.php - Implements hook_entity_operation().
- MenuTestHooks::menuLocalTasksAlter in core/
modules/ system/ tests/ modules/ menu_test/ src/ Hook/ MenuTestHooks.php - Implements hook_menu_local_tasks_alter().
- MigrateMessageController::overview in core/
modules/ migrate/ src/ Controller/ MigrateMessageController.php - Displays an overview of migrate messages.
- NavigationBlockUiTest::testNavigationBlockAdminUiPage in core/
modules/ navigation/ tests/ src/ FunctionalJavascript/ NavigationBlockUiTest.php - Tests navigation block admin page exists and functions correctly.
- NavigationContentTopTest::testNavigationContentTop in core/
modules/ navigation/ tests/ src/ Functional/ NavigationContentTopTest.php - Tests behavior of content_top section hooks.
- NavigationDefaultBlockDefinitionTest::testNavigationDefaultAfterNavigation in core/
modules/ navigation/ tests/ src/ Functional/ NavigationDefaultBlockDefinitionTest.php - Tests the default block flow enabling Navigation module first.
- NavigationDefaultBlockDefinitionTest::testNavigationDefaultBeforeNavigation in core/
modules/ navigation/ tests/ src/ Functional/ NavigationDefaultBlockDefinitionTest.php - Tests the default block flow enabling the block provider module first.
- NavigationLinkBlockTest::testNavigationLinkBlockCache in core/
modules/ navigation/ tests/ src/ Functional/ NavigationLinkBlockTest.php - Test output of the link navigation with regards to caching and contents.
- NavigationLinkBlockTest::testNavigationLinkBlockVisibility in core/
modules/ navigation/ tests/ src/ Functional/ NavigationLinkBlockTest.php - Test block visibility based on the link access logic.
- NavigationSectionStorage::getLayoutBuilderUrl in core/
modules/ navigation/ src/ Plugin/ SectionStorage/ NavigationSectionStorage.php - Gets the URL used to display the Layout Builder UI.
- NavigationShortcutsBlockTest::testNavigationBlock in core/
modules/ navigation/ tests/ src/ Functional/ NavigationShortcutsBlockTest.php - Tests visibility and cacheability of shortcuts in the navigation bar.
- NavigationTestBlock::build in core/
modules/ navigation/ tests/ navigation_test_block/ src/ Plugin/ Block/ NavigationTestBlock.php - Builds and returns the renderable array for this block plugin.
- NavigationTopBarPageContextTest::testPageContextTopBarItemNode in core/
modules/ navigation/ tests/ src/ Functional/ NavigationTopBarPageContextTest.php - Tests the PageContext top bar item output for a published node.
- NavigationTopBarTest::testTopBarVisibility in core/
modules/ navigation/ tests/ src/ Functional/ NavigationTopBarTest.php - Tests the top bar visibility.
- NavigationUserBlockTest::testNavigationUserBlock in core/
modules/ navigation/ tests/ src/ Functional/ NavigationUserBlockTest.php - Test output of user navigation block with regards to caching and contents.
- NavigationUserBlockTest::testNavigationUserBlock in core/
modules/ navigation/ tests/ src/ FunctionalJavascript/ NavigationUserBlockTest.php - Test output of user navigation block with regards to contents.
- NodeRequirements::runtime in core/
modules/ node/ src/ Hook/ NodeRequirements.php - Implements hook_runtime_requirements().
- NodeRevisionsAuthorTest::testNodeRevisionRevertAuthors in core/
modules/ node/ tests/ src/ Functional/ NodeRevisionsAuthorTest.php - Tests node authorship is retained after reverting revisions.
- PathChangedHelper::__construct in core/
lib/ Drupal/ Core/ Routing/ PathChangedHelper.php - Constructs a PathChangedHelper object.
- RenderElementBase::preRenderAjaxForm in core/
lib/ Drupal/ Core/ Render/ Element/ RenderElementBase.php - Adds Ajax information about an element to communicate with JavaScript.
- StandardTestTrait::testStandard in core/
profiles/ standard/ tests/ src/ Traits/ StandardTestTrait.php - Tests Standard installation profile or recipe.
- SystemCompactLink::preRenderCompactLink in core/
lib/ Drupal/ Core/ Render/ Element/ SystemCompactLink.php - Pre-render callback: Renders a link into #markup.
- SystemRequirements::checkRequirements in core/
modules/ system/ src/ Install/ Requirements/ SystemRequirements.php - Check requirements for a given phase.
- TableSelectTest::testProcessTableselectWithLinkTitle in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ TableSelectTest.php - @covers ::processTableselect[[api-linebreak]]
- TaxonomyHooks::entityOperation in core/
modules/ taxonomy/ src/ Hook/ TaxonomyHooks.php - Implements hook_entity_operation().
- TaxonomyTermContentModerationTest::testTaxonomyTermParents in core/
modules/ taxonomy/ tests/ src/ Functional/ TaxonomyTermContentModerationTest.php - Tests taxonomy term parents on a moderated vocabulary.
- TestActionConfirmForm::getCancelUrl in core/
modules/ views/ tests/ modules/ action_bulk_test/ src/ Form/ TestActionConfirmForm.php - Returns the route to go to if the user cancels the action.
- ToolbarHooks::toolbar in core/
modules/ toolbar/ src/ Hook/ ToolbarHooks.php - Implements hook_toolbar().
- ToolbarTestHooks::toolbar in core/
modules/ toolbar/ tests/ modules/ toolbar_test/ src/ Hook/ ToolbarTestHooks.php - Implements hook_toolbar().
- TwigExtensionTest::testLinkWithOverriddenAttributes in core/
tests/ Drupal/ Tests/ Core/ Template/ TwigExtensionTest.php - @covers ::getLink[[api-linebreak]]
- UpdateReducedThemeRegistryTest::testUpdatePageWithBrokenThemeHook in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdateReducedThemeRegistryTest.php - Tests that the update page can be accessed.
- UpdateSettingsFormTest::testUpdateSettingsForm in core/
modules/ update/ tests/ src/ Functional/ UpdateSettingsFormTest.php - Tests the update_settings form.
- UrlTest::testFromRoutedPathWithValidRoute in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests fromUri() method with user-entered path matching a valid route.
- UrlTest::testFromRouteFront in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests the fromRoute() method with the special <front> path.
- UrlTest::testMergeOptions in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests the mergeOptions() method.
- UrlTest::testSetOptions in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests the setOptions() method.
- UrlTest::testToUriStringForInternal in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests the toUriString() method with internal: URIs.
- UrlTest::testUrlFromRequest in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests creating a URL from a request.
- UserHooks::entityOperation in core/
modules/ user/ src/ Hook/ UserHooks.php - Implements hook_entity_operation().
- UserHooks::toolbar in core/
modules/ user/ src/ Hook/ UserHooks.php - Implements hook_toolbar().
- UserLogoutTest::testLogout in core/
modules/ user/ tests/ src/ Functional/ UserLogoutTest.php - Tests user logout functionality.
- ViewsBlockTest::testOperationLinks in core/
modules/ views_ui/ tests/ src/ Kernel/ ViewsBlockTest.php - Tests the editing links for ViewsBlockBase.
- ViewsUiHooks::contextualLinksViewAlter in core/
modules/ views_ui/ src/ Hook/ ViewsUiHooks.php - Implements hook_contextual_links_view_alter().
- ViewsUiHooks::entityOperation in core/
modules/ views_ui/ src/ Hook/ ViewsUiHooks.php - Implements hook_entity_operation().
- WorkspacesLazyBuilder::renderNavigationLinks in core/
modules/ navigation/ src/ WorkspacesLazyBuilder.php - Lazy builder callback for rendering navigation links.
- WorkspacesLazyBuilders::renderToolbarTab in core/
modules/ workspaces/ src/ WorkspacesLazyBuilders.php - Lazy builder callback for rendering the workspace toolbar tab.
- WorkspacesUiHooks::toolbar in core/
modules/ workspaces_ui/ src/ Hook/ WorkspacesUiHooks.php - Implements hook_toolbar().
- _batch_finished in core/
includes/ batch.inc - Ends the batch processing.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.