419 calls to Url::fromRoute()

AccessDeniedSubscriber::onException in core/modules/user/src/EventSubscriber/AccessDeniedSubscriber.php
Redirects users when access is denied.
ActionFormAjaxTest::testActionConfigurationWithAjax in core/modules/action/tests/src/FunctionalJavascript/ActionFormAjaxTest.php
Tests action plugins with AJAX save their configuration.
AjaxFileManagedMultipleTest::testMultipleFilesUpload in core/modules/file/tests/src/FunctionalJavascript/AjaxFileManagedMultipleTest.php
Tests if managed file form element works well with multiple files upload.
AjaxFormCacheTest::testFormCacheUsage in core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxFormCacheTest.php
Tests the usage of form cache for AJAX forms.
AjaxFormCacheTest::testQueryString in core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxFormCacheTest.php
Tests AJAX forms on pages with a query string.
AjaxTestController::dialog in core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php
Returns a render array of form elements and links for dialog.
AjaxTestController::dialogContents in core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php
Example content for dialog testing.
AjaxTestController::exceptionLink in core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php
Provides an Ajax link for the exception.
AjaxTestController::httpMethods in core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php
Provides an Ajax link used with different HTTP methods.
AjaxTestController::insertLinksBlockWrapper in core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php
Returns a render array of links that directly Drupal.ajax().
AjaxTestController::insertLinksInlineWrapper in core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php
Returns a render array of links that directly Drupal.ajax().
AjaxTestController::linkPageDialog in core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php
Provides an Ajax link that open in dialog.
AjaxTestForm::buildForm in core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestForm.php
Form constructor.
AnnouncementsCacheTest::testDynamicPageCache in core/modules/announcements_feed/tests/src/Functional/AnnouncementsCacheTest.php
Tests dynamic page cache.
authorize.php in core/authorize.php
Administrative script for running authorized file operations.
BanAdmin::buildForm in core/modules/ban/src/Form/BanAdmin.php
BasicAuthTest::testBasicAuth in core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php
Tests http basic authentication.
BasicAuthTest::testCacheabilityOf401Response in core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php
Tests the cacheability of the Basic Auth 401 response.
BasicAuthTest::testGlobalLoginFloodControl in core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php
Tests the global login flood control.
BasicAuthTest::testLocale in core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php
Tests compatibility with locale/UI translation.
BasicAuthTest::testPerUserLoginFloodControl in core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php
Tests the per-user login flood control.
BasicAuthTest::testUnauthorizedErrorMessage in core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php
Tests if a comprehensive message is displayed when the route is denied.
batch_process in core/includes/form.inc
Processes the batch.
BigPipePlaceholderTestCases::cases in core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php
Gets all BigPipe placeholder test cases.
BigPipeRegressionTest::doTestBigPipeLargeContent in core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipeRegressionTest.php
Tests BigPipe large content.
BigPipeRegressionTest::doTestMultipleReplacements in core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipeRegressionTest.php
Test BigPipe replacement of multiple complex replacements.
BigPipeRegressionTest::doTestPlaceholderInParagraph_2802923 in core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipeRegressionTest.php
Ensure default BigPipe placeholder HTML cannot split paragraphs.
BigPipeRegressionTest::testMessages_2712935 in core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipeRegressionTest.php
Ensure messages set in placeholders always appear.
BigPipeRegressionTest::testMultipleClosingBodies_2678662 in core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipeRegressionTest.php
Ensure BigPipe works despite inline JS containing the string "</body>".
BigPipeTest::testBigPipe in core/modules/big_pipe/tests/src/Functional/BigPipeTest.php
Tests BigPipe-delivered HTML responses when JavaScript is enabled.
BigPipeTest::testBigPipeMultiOccurrencePlaceholders in core/modules/big_pipe/tests/src/Functional/BigPipeTest.php
Tests BigPipe with a multi-occurrence placeholder.
BigPipeTest::testBigPipeNoJs in core/modules/big_pipe/tests/src/Functional/BigPipeTest.php
Tests BigPipe-delivered HTML responses when JavaScript is disabled.
BigPipeTest::testNoJsDetection in core/modules/big_pipe/tests/src/Functional/BigPipeTest.php
Tests BigPipe's no-JS detection.
BlockContentTypeTest::testBlockContentTypeEditing in core/modules/block_content/tests/src/Functional/BlockContentTypeTest.php
Tests editing a block type using the UI.
BlockContentTypeTest::testsBlockContentAddTypes in core/modules/block_content/tests/src/Functional/BlockContentTypeTest.php
Tests that redirects work as expected when multiple block types exist.
BlockLibraryController::listBlocks in core/modules/block/src/Controller/BlockLibraryController.php
Shows a list of blocks that can be added to a theme's layout.
BlockListBuilder::buildBlocksForm in core/modules/block/src/BlockListBuilder.php
Builds the main "Blocks" portion of the form.
BlockTest::testAddBlockFromLibraryWithWeight in core/modules/block/tests/src/Functional/BlockTest.php
Tests adding a block from the library page with a weight query string.
BlockXssTest::doBlockContentTest in core/modules/block/tests/src/Functional/BlockXssTest.php
Tests XSS coming from Block Content block info.
BlockXssTest::doMenuTest in core/modules/block/tests/src/Functional/BlockXssTest.php
Tests XSS coming from Menu block labels.
BlockXssTest::doViewTest in core/modules/block/tests/src/Functional/BlockXssTest.php
Tests XSS coming from View block labels.
BlockXssTest::testBlockXss in core/modules/block/tests/src/Functional/BlockXssTest.php
Tests various modules that provide blocks for XSS.
BlockXssTest::testNoUnexpectedEscaping in core/modules/block/tests/src/Functional/BlockXssTest.php
Tests that nothing is escaped other than the blocks explicitly tested.
BlockXssTest::testXssInCategory in core/modules/block/tests/src/Functional/BlockXssTest.php
Tests XSS in category.
block_page_top in core/modules/block/block.module
Implements hook_page_top().
BookController::adminOverview in core/modules/book/src/Controller/BookController.php
Returns an administrative overview of all books.
book_node_links_alter in core/modules/book/book.module
Implements hook_node_links_alter().
BreadcrumbTest::testSetLinks in core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbTest.php
@covers ::setLinks
BrowserTestBaseTest::testGoTo in core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
Tests basic page test.
ChooseBlockController::build in core/modules/layout_builder/src/Controller/ChooseBlockController.php
Provides the UI for choosing a new block.
ChooseBlockController::getBlockLinks in core/modules/layout_builder/src/Controller/ChooseBlockController.php
Gets a render array of block links.
ChooseBlockController::inlineBlockList in core/modules/layout_builder/src/Controller/ChooseBlockController.php
Provides the UI for choosing a new inline block.
ChooseSectionController::build in core/modules/layout_builder/src/Controller/ChooseSectionController.php
Choose a layout plugin to add as a section.
CKEditor5DialogTestController::testDialog in core/modules/ckeditor5/tests/modules/ckeditor5_test/src/Controller/CKEditor5DialogTestController.php
Returns a link that can open a node add form in an modal dialog.
CKEditor5OffCanvasTestController::testOffCanvas in core/modules/ckeditor5/tests/modules/ckeditor5_test/src/Controller/CKEditor5OffCanvasTestController.php
Returns a link that can open a node add form in an off-canvas dialog.
claro_preprocess_block_content_add_list in core/themes/claro/claro.theme
Implements template_preprocess_HOOK() for block_content_add_list.
claro_preprocess_node_add_list in core/themes/claro/claro.theme
Implements template_preprocess_HOOK() for node_add_list.
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'.
CommentInterfaceTest::testCommentInterface in core/modules/comment/tests/src/Functional/CommentInterfaceTest.php
Tests the comment interface.
CommentLazyBuilders::buildLinks in core/modules/comment/src/CommentLazyBuilders.php
Build the default links (reply, edit, delete …) for a comment.
CommentLinkBuilder::buildCommentedEntityLinks in core/modules/comment/src/CommentLinkBuilder.php
CommentLinkBuilderTest::getLinkCombinations in core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php
Data provider for ::testCommentLinkBuilder.
CommentLinkBuilderTest::getMockNode in core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php
Builds a mock node based on given scenario.
CommentLinksTest::testLinkApprove in core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php
Tests the comment approve link.
CommentLinksTest::testLinkReply in core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php
Tests the comment reply link.
CommentNewIndicatorTest::renderNewCommentsNodeLinks in core/modules/comment/tests/src/Functional/CommentNewIndicatorTest.php
Get node "x new comments" metadata from the server for the current user.
CommentTest::testCollectionFilterAccess in core/modules/jsonapi/tests/src/Functional/CommentTest.php
CommentTypeTest::testCommentTypeEditing in core/modules/comment/tests/src/Functional/CommentTypeTest.php
Tests editing a comment type using the UI.
comment_test_comment_links_alter in core/modules/comment/tests/modules/comment_test/comment_test.module
Implements hook_comment_links_alter().
CommonCollectionFilterAccessTestPatternsTrait::doTestCollectionFilterAccessBasedOnPermissions in core/modules/jsonapi/tests/src/Traits/CommonCollectionFilterAccessTestPatternsTrait.php
Implements ::testCollectionFilterAccess() for pure permission-based access.
CommonCollectionFilterAccessTestPatternsTrait::doTestCollectionFilterAccessForPublishableEntities in core/modules/jsonapi/tests/src/Traits/CommonCollectionFilterAccessTestPatternsTrait.php
Implements ::testCollectionFilterAccess() for permission + status access.
CommonTestController::typeLinkActiveClass in core/modules/system/tests/modules/common_test/src/Controller/CommonTestController.php
Returns links to the current page, with and without query strings.
ConfigController::diff in core/modules/config/src/Controller/ConfigController.php
Shows diff of specified configuration file.
ConfigEntityMapper::getOperations in core/modules/config_translation/src/ConfigEntityMapper.php
Provides an array of information to build a list of operation links.
ConfigEntityMapperTest::testGetOperations in core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php
Tests ConfigEntityMapper::getOperations().
ConfigNamesMapper::getOperations in core/modules/config_translation/src/ConfigNamesMapper.php
Provides an array of information to build a list of operation links.
ConfigNamesMapperTest::testGetOperations in core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php
Tests ConfigNamesMapper::hasTranslation().
ConfigSync::buildForm in core/modules/config/src/Form/ConfigSync.php
Form constructor.
ConfigTranslationController::itemPage in core/modules/config_translation/src/Controller/ConfigTranslationController.php
Language translations overview page for a configuration name.
ConfigurableLanguageTest::testGetIndividualDefaultConfig in core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php
Tests a GET request for a default config entity, which has a _core key.
ConfirmFormHelperTest::testCancelLinkDestination in core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php
@covers ::buildCancelLink
ConfirmFormHelperTest::testCancelLinkRoute in core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php
@covers ::buildCancelLink
ConfirmFormHelperTest::testCancelLinkRouteWithParams in core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php
@covers ::buildCancelLink
ContactForm::getRedirectUrl in core/modules/contact/src/Entity/ContactForm.php
Returns the \Drupal\Core\Url object for redirect path.
ContactLink::getUrlInfo in core/modules/contact/src/Plugin/views/field/ContactLink.php
Returns the URI elements of the link.
ContentLengthTest::testContentLength in core/tests/Drupal/FunctionalTests/HttpKernel/ContentLengthTest.php
ContentModerationConfigureForm::buildConfigurationForm in core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php
Form constructor.
ContentTranslationHandler::entityFormDeleteTranslationUrl in core/modules/content_translation/src/ContentTranslationHandler.php
Form submission handler for ContentTranslationHandler::entityFormAlter().
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.
ContentTranslationOutdatedRevisionTranslationTest::testFlagAsOutdatedHidden in core/modules/content_translation/tests/src/Functional/ContentTranslationOutdatedRevisionTranslationTest.php
Tests that outdated revision translations work correctly.
ContentTranslationRevisionTranslationDeletionTest::doTestOverview in core/modules/content_translation/tests/src/Functional/ContentTranslationRevisionTranslationDeletionTest.php
Performs a test run.
ContentTranslationUITestBase::doTestBasicTranslation in core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php
Tests the basic translation workflow.
ContentTranslationUITestBase::doTestTranslationDeletion in core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php
Tests translation deletion.
ContentTranslationUntranslatableFieldsTest::testHiddenWidgets in core/modules/content_translation/tests/src/Functional/ContentTranslationUntranslatableFieldsTest.php
Tests that hiding untranslatable field widgets works correctly.
ContentTranslationWorkflowsTest::doTestWorkflows in core/modules/content_translation/tests/src/Functional/ContentTranslationWorkflowsTest.php
Checks that workflows have the expected behaviors for the given user.
ContentTranslationWorkflowsTest::setupEntity in core/modules/content_translation/tests/src/Functional/ContentTranslationWorkflowsTest.php
Creates a test entity and translate it.
ContextualDynamicContextTest::renderContextualLinks in core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php
Get server-rendered contextual links for the given contextual link ids.
ContextualDynamicContextTest::testDifferentPermissions in core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php
Tests contextual links with different permissions.
ContextualLinks::preRenderLinks in core/modules/contextual/src/Element/ContextualLinks.php
Pre-render callback: Builds a renderable array for contextual links.
CustomPageExceptionHtmlSubscriberTest::setUp in core/tests/Drupal/Tests/Core/EventSubscriber/CustomPageExceptionHtmlSubscriberTest.php
DatabaseVersionCheckUpdateTest::testUpdate in core/modules/system/tests/src/Functional/Update/DatabaseVersionCheckUpdateTest.php
Tests that updates fail if the database does not meet the minimum version.
DateTimeTest::testDateFormatConfiguration in core/modules/system/tests/src/Functional/System/DateTimeTest.php
Tests date format configuration.
DbLogResourceTest::testWatchdog in core/modules/dblog/tests/src/Functional/DbLogResourceTest.php
Writes a log messages and retrieves it via the REST API.
DbLogTest::clearLogsEntries in core/modules/dblog/tests/src/Functional/DbLogTest.php
Clear the entry logs by clicking on 'Clear log messages' button.
DefaultsSectionStorage::getLayoutBuilderUrl in core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php
Gets the URL used to display the Layout Builder UI.
DefaultsSectionStorage::getRedirectUrl in core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php
Gets the URL used when redirecting away from the Layout Builder UI.
demo_umami_toolbar in core/profiles/demo_umami/demo_umami.profile
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.
DrupalMessengerServiceTest::testDrupalMessengerService in core/modules/system/tests/src/Functional/Bootstrap/DrupalMessengerServiceTest.php
Tests Messenger service.
DrupalMessengerServiceTest::testStatusMessageAssertions in core/modules/system/tests/src/Functional/Bootstrap/DrupalMessengerServiceTest.php
Tests assertion methods in WebAssert related to status messages.
EarlyRenderingControllerTest::testEarlyRendering in core/modules/system/tests/src/Functional/Common/EarlyRenderingControllerTest.php
Tests theme preprocess functions being able to attach assets.
EditorDialogAccessTest::testEditorImageDialogAccess in core/modules/editor/tests/src/Functional/EditorDialogAccessTest.php
Tests access to the editor image dialog.
EntityAccessDeniedHttpExceptionNormalizer::buildErrorObjects in core/modules/jsonapi/src/Normalizer/EntityAccessDeniedHttpExceptionNormalizer.php
Builds the normalized JSON:API error objects for the response.
EntityBundleListCacheTest::testBundleListingCache in core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php
Tests that tags are invalidated when an entity with that bundle changes.
EntityCacheTagsTestBase::testReferencedEntity in core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php
Tests cache tags presence and invalidation of the entity when referenced.
EntityDeleteFormTrait::getRedirectUrl in core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php
Returns the URL where the user should be redirected after deletion.
EntityDisplayModeListBuilder::render in core/modules/field_ui/src/EntityDisplayModeListBuilder.php
Builds the entity listing as renderable array for table.html.twig.
EntityFormDisplayEditForm::getDisplayModesLink in core/modules/field_ui/src/Form/EntityFormDisplayEditForm.php
Returns a link to the form or view mode admin page.
EntityFormDisplayEditForm::getOverviewUrl in core/modules/field_ui/src/Form/EntityFormDisplayEditForm.php
Returns the Url object for a specific entity (form) display edit form.
EntityListBuilderTest::testGetOperations in core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php
@covers ::getOperations
EntityReferenceFieldNormalizer::getRelationshipLinks in core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php
Gets the links for the relationship.
EntityResourceTestBase::testGet in core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
Tests a GET request for an entity, plus edge cases to ensure good DX.
EntityUrlTest::providerTestToUrlUriCallback in core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php
Provides data for testToUrlUriCallback().
EntityViewDisplayEditForm::getDisplayModesLink in core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php
Returns a link to the form or view mode admin page.
EntityViewDisplayEditForm::getOverviewUrl in core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php
Returns the Url object for a specific entity (form) display edit form.
entity_test_entity_operation_alter in core/modules/system/tests/modules/entity_test/entity_test.module
Implements hook_entity_operation_alter().
entity_test_operation_entity_operation in core/modules/system/tests/modules/entity_test_operation/entity_test_operation.module
Implements hook_entity_operation().
EntryPoint::index in core/modules/jsonapi/src/Controller/EntryPoint.php
Controller to list all the resources.
EquivalentUpdateTest::setUp in core/modules/system/tests/src/Functional/UpdateSystem/EquivalentUpdateTest.php
ExternalNormalizersTest::testFormatAgnosticNormalizers in core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php
Tests a format-agnostic normalizer.
FieldPluginBaseTest::providerTestRenderAsLinkWithUrlAndOptions in core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php
Data provider for ::testRenderAsLinkWithUrlAndOptions().
FieldUI::getNextDestination in core/modules/field_ui/src/FieldUI.php
Returns the next redirect path in a multi-page sequence.
field_ui_entity_operation in core/modules/field_ui/field_ui.module
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.
FileFieldWidgetTest::doTestTemporaryFileRemovalExploit in core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
Helper for testing exploiting the temporary file removal using fid.
FileTest::testCollectionFilterAccess in core/modules/jsonapi/tests/src/Functional/FileTest.php
FileUpload::handleFileUploadForNewResource in core/modules/jsonapi/src/Controller/FileUpload.php
Handles JSON:API file upload requests.
FileUploadForm::processUploadElement in core/modules/media_library/src/Form/FileUploadForm.php
Processes an upload (managed_file) element.
FileUploadTest::testPostFileUpload in core/modules/jsonapi/tests/src/Functional/FileUploadTest.php
Tests using the file upload POST route; needs second request to "use" file.
FormElementsRenderTest::testDrupalRenderFormElements in core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php
Tests rendering form elements without using doBuildForm().
FormTest::testGetFormsCsrfToken in core/modules/system/tests/src/Functional/Form/FormTest.php
CSRF tokens for GET forms should not be added by default.
FormTest::testInputWithInvalidToken in core/modules/system/tests/src/Functional/Form/FormTest.php
Tests that input is retained for safe elements even with an invalid token.
ForumBlockBase::build in core/modules/forum/src/Plugin/Block/ForumBlockBase.php
Builds and returns the renderable array for this block plugin.
ForumController::buildActionLinks in core/modules/forum/src/Controller/ForumController.php
Generates an action link to display at the top of the forum listing.
ForumTest::testForum in core/modules/forum/tests/src/Functional/ForumTest.php
Tests forum functionality through the admin and user interfaces.
forum_help in core/modules/forum/forum.module
Implements hook_help().
forum_uri in core/modules/forum/forum.module
Entity URI callback used in forum_entity_bundle_info_alter().
FrontPageTest::doTestFrontPageViewCacheTags in core/modules/node/tests/src/Functional/Views/FrontPageTest.php
Tests the cache tags on the front page.
FunctionsTest::testDrupalPreRenderLinks in core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php
Tests the use of Link::preRenderLinks() on a nested array of links.
FunctionsTest::testIndexedKeyedLinks in core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php
Tests links.html.twig using links with indexed keys.
FunctionsTest::testLinks in core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php
Tests links.html.twig.
GlossaryTest::testGlossaryView in core/modules/views/tests/src/Functional/GlossaryTest.php
Tests the default glossary view.
GlossaryViewTest::testGlossaryDefault in core/modules/views/tests/src/FunctionalJavascript/GlossaryViewTest.php
Tests the AJAX callbacks for the glossary view.
GlossaryViewTest::testGlossaryLanguagePrefix in core/modules/views/tests/src/FunctionalJavascript/GlossaryViewTest.php
Tests that the glossary also works on a language prefixed URL.
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_comment_links_alter in core/modules/comment/comment.api.php
Alter the links of a comment.
hook_entity_operation in core/lib/Drupal/Core/Entity/entity.api.php
Declares entity operations.
hook_system_themes_page_alter in core/modules/system/system.api.php
Alters theme operation links.
hook_toolbar in core/modules/toolbar/toolbar.api.php
Add items to the toolbar menu.
ImageFormatter::settingsForm in core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php
Returns a form to configure settings for the formatter.
ImageStyleEditForm::form in core/modules/image/src/Form/ImageStyleEditForm.php
Gets the actual form array to be built.
ImageThemeFunctionTest::testImageFormatterTheme in core/modules/image/tests/src/Kernel/ImageThemeFunctionTest.php
Tests usage of the image field formatters.
ImageUploadTest::getUploadUrl in core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php
Provides the image upload URL.
ImageUrlFormatter::settingsForm in core/modules/image/src/Plugin/Field/FieldFormatter/ImageUrlFormatter.php
Returns a form to configure settings for the formatter.
JavascriptStatesForm::buildForm in core/modules/system/tests/modules/form_test/src/Form/JavascriptStatesForm.php
Form constructor.
JSInteractionTestForm::buildForm in core/modules/system/tests/modules/js_interaction_test/src/Controller/JSInteractionTestForm.php
Creates the test form.
JsonApiFilterRegressionTest::testEmptyRelationshipFilteringFromIssue3025372 in core/modules/jsonapi/tests/src/Functional/JsonApiFilterRegressionTest.php
Ensure filtering for entities with empty entity reference fields works.
JsonApiFunctionalTest::testRead in core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTest.php
Tests the GET method.
JsonApiFunctionalTest::testWrite in core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTest.php
Tests POST, PATCH and DELETE.
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/js_webassert_test/src/Form/JsWebAssertTestForm.php
Ajax callback for the "Add link" button.
LanguageBlock::build in core/modules/language/src/Plugin/Block/LanguageBlock.php
Builds and returns the renderable array for this block plugin.
LanguageBrowserDetectionTest::testUIBrowserLanguageMappings in core/modules/language/tests/src/Functional/LanguageBrowserDetectionTest.php
Tests mappings between browser language codes and Drupal language codes.
LanguageConfigurationTest::testLanguageConfiguration in core/modules/language/tests/src/Functional/LanguageConfigurationTest.php
Functional tests for adding, editing and deleting languages.
LanguageCustomLanguageConfigurationTest::testLanguageConfiguration in core/modules/language/tests/src/Functional/LanguageCustomLanguageConfigurationTest.php
Functional tests for adding, editing and deleting languages.
LanguageListTest::testLanguageList in core/modules/language/tests/src/Functional/LanguageListTest.php
Functional tests for adding, editing and deleting languages.
LanguageLocaleListTest::testLanguageLocaleList in core/modules/language/tests/src/Functional/LanguageLocaleListTest.php
Tests adding, editing, and deleting languages.
LanguageTestController::typeLinkActiveClass in core/modules/language/tests/language_test/src/Controller/LanguageTestController.php
Returns links to the current page with different langcodes.
LayoutBuilder::buildAddSectionLink in core/modules/layout_builder/src/Element/LayoutBuilder.php
Builds a link to add a new section at a given delta.
LayoutBuilder::buildAdministrativeSection in core/modules/layout_builder/src/Element/LayoutBuilder.php
Builds the render array for the layout section while editing.
LayoutBuilderTest::testLayoutNoDialog in core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php
Tests bypassing the off-canvas dialog.
LayoutBuilderTranslationTest::addEntityTranslation in core/modules/layout_builder/tests/src/Functional/LayoutBuilderTranslationTest.php
Adds an entity translation.
LazyBuilders::renderAnnouncements in core/modules/announcements_feed/src/LazyBuilders.php
Render announcements.
LinkApprove::getUrlInfo in core/modules/comment/src/Plugin/views/field/LinkApprove.php
Returns the URI elements of the link.
LinkExternalProtocolsConstraintValidatorTest::testValidateIgnoresInternalUrls in core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php
@covers ::validate
LinkFormatter::buildUrl in core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php
Builds the \Drupal\Core\Url object for a link field item.
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.
LinkNotExistingInternalConstraintValidatorTest::testValidateFromNonExistingRoute in core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php
@covers ::validate
LinkNotExistingInternalConstraintValidatorTest::testValidateFromRoute in core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php
@covers ::validate
LinkReply::getUrlInfo in core/modules/comment/src/Plugin/views/field/LinkReply.php
Returns the URI elements of the link.
ListingEmpty::render in core/modules/node/src/Plugin/views/area/ListingEmpty.php
Render the area.
LocalActionManager::getActionsForRoute in core/lib/Drupal/Core/Menu/LocalActionManager.php
LocalActionManagerTest::getActionsForRouteProvider in core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php
LocalActionTest::testLocalAction in core/modules/system/tests/src/Functional/Menu/LocalActionTest.php
Tests appearance of local actions.
LocaleImportFunctionalTest::testStandalonePoFile in core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php
Tests import of standalone .po files.
LocalTaskManager::getTasksBuild in core/lib/Drupal/Core/Menu/LocalTaskManager.php
LocalTasksTest::testLocalTaskBlock in core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php
Tests that local task blocks are configurable to show a specific level.
LocalTasksTest::testPluginLocalTask in core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php
Tests the plugin based local tasks.
ManagedFile::processManagedFile in core/modules/file/src/Element/ManagedFile.php
Render API callback: Expands the managed_file element type.
MediaLibrarySelectForm::viewsForm in core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php
Form constructor for the media library select form.
MediaLibraryUiBuilder::buildMediaTypeMenu in core/modules/media_library/src/MediaLibraryUiBuilder.php
Get the media type menu for the media library.
MediaLibraryWidget::getNoMediaTypesAvailableMessage in core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php
Gets the message to display when there are no allowed media types.
MediaSettingsTest::testSettingsForm in core/modules/media/tests/src/Functional/MediaSettingsTest.php
Tests that the media settings form stores a `null` iFrame domain.
MediaUiReferenceWidgetTest::testMediaReferenceWidget in core/modules/media/tests/src/Functional/MediaUiReferenceWidgetTest.php
Tests the default autocomplete widgets for media reference fields.
media_field_widget_complete_form_alter in core/modules/media/media.module
Implements hook_field_widget_complete_form_alter().
MenuAccessTest::assertUserRoutesAccess in core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php
Asserts which routes a user has access to.
MenuAccessTest::testSystemAdminMenuBlockAccessCheck in core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php
Test routes implementing _access_admin_menu_block_page.
MenuActiveTrail403Test::testMenuActiveTrail403Cache in core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php
Tests that visiting 403 page does not override original active trail.
MenuCacheTagsTest::testMenuBlock in core/modules/menu_ui/tests/src/Functional/MenuCacheTagsTest.php
Tests cache tags presence and invalidation of the Menu entity.
MenuForm::buildOverviewTreeForm in core/modules/menu_ui/src/MenuForm.php
Recursive helper function for buildOverviewForm().
MenuLinkBase::getEditRoute in core/lib/Drupal/Core/Menu/MenuLinkBase.php
Returns route information for a custom edit form for the menu link.
MenuLinkContentTest::testLinkOptionsSerialization in core/modules/jsonapi/tests/src/Functional/MenuLinkContentTest.php
Tests requests using a serialized field item property.
MenuLinkDefault::getResetRoute in core/lib/Drupal/Core/Menu/MenuLinkDefault.php
Returns route information for a route to reset the menu link.
MenuUiTest::doMenuTests in core/modules/menu_ui/tests/src/Functional/MenuUiTest.php
Tests menu functionality.
menu_operations_link_test_entity_operation in core/modules/menu_link_content/tests/menu_operations_link_test/menu_operations_link_test.module
Implements hook_entity_operation().
menu_test_menu_local_tasks_alter in core/modules/system/tests/modules/menu_test/menu_test.module
Implements hook_menu_local_tasks_alter().
MigrateMessageController::overview in core/modules/migrate/src/Controller/MigrateMessageController.php
Displays an overview of migrate messages.
MigrateUpgradeImportBatch::finished in core/modules/migrate_drupal_ui/src/Batch/MigrateUpgradeImportBatch.php
Callback executed when the Migrate Upgrade Import batch process completes.
ModerationFormTest::testModerationForm in core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php
Tests the moderation form that shows on the latest version page.
ModerationStateNodeTest::testFormSaveDestination in core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTest.php
Tests edit form destinations.
Module::postInstallTasks in core/lib/Drupal/Core/Updater/Module.php
Returns an array of links to pages that should be visited post operation.
ModulesEnabledTrait::modulesEnabledConfirmationMessage in core/modules/system/src/Form/ModulesEnabledTrait.php
Provides a confirmation message after modules have been enabled.
ModulesListForm::buildRow in core/modules/system/src/Form/ModulesListForm.php
Builds a table row for the system modules page.
NavigationBlockUiTest::testNavigationBlockAdminUiPage in core/modules/navigation/tests/src/FunctionalJavascript/NavigationBlockUiTest.php
Tests navigation block admin page exists and functions correctly.
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.
NavigationUserBlockTest::testNavigationUserBlock in core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php
Test output of user navigation block with regards to caching and contents.
NegotiationBrowserForm::buildForm in core/modules/language/src/Form/NegotiationBrowserForm.php
Form constructor.
NegotiationConfigureForm::configureFormTable in core/modules/language/src/Form/NegotiationConfigureForm.php
Builds a language negotiation method configuration table.
Node::renderLink in core/modules/node/src/Plugin/views/field/Node.php
Prepares link to the node.
NodeBlockFunctionalTest::testRecentNodeBlock in core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php
Tests the recent comments block.
NodeController::revisionOverview in core/modules/node/src/Controller/NodeController.php
Generates an overview table of older revisions of a node.
NodePreviewForm::buildForm in core/modules/node/src/Form/NodePreviewForm.php
Form constructor.
NodeRevisionsTest::testRevisionTranslationRevert in core/modules/node/tests/src/Functional/NodeRevisionsTest.php
Tests the revision translations are correctly reverted.
NodeTest::assertCacheableNormalizations in core/modules/jsonapi/tests/src/Functional/NodeTest.php
Asserts that normalizations are cached in an incremental way.
NodeTest::testCollectionFilterAccess in core/modules/jsonapi/tests/src/Functional/NodeTest.php
NodeTest::testDeprecatedEntityReferenceFieldItem in core/modules/jsonapi/tests/src/Functional/NodeTest.php
Tests deprecated entity reference items.
NodeTest::testGetIndividual in core/modules/jsonapi/tests/src/Functional/NodeTest.php
Tests GETting an individual resource, plus edge cases to ensure good DX.
NodeTest::testPatchPath in core/modules/jsonapi/tests/src/Functional/NodeTest.php
Tests PATCHing a node's path with and without 'create url aliases'.
NodeTest::testPostNonExistingAuthor in core/modules/jsonapi/tests/src/Functional/NodeTest.php
Creating relationships to missing resources should be 404 per JSON:API 1.1.
NodeTranslationUITest::testPublishedStatusNoFields in core/modules/node/tests/src/Functional/NodeTranslationUITest.php
Tests changing the published status on a node without fields.
NoPreExistingSchemaUpdateTest::testNoPreExistingSchema in core/modules/system/tests/src/Functional/UpdateSystem/NoPreExistingSchemaUpdateTest.php
Tests the system module updates with no dependencies installed.
OEmbedForm::buildInputElement in core/modules/media_library/src/Form/OEmbedForm.php
Builds the element for submitting source field value(s).
OEmbedFormatter::viewElements in core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php
Builds a renderable array for a field value.
OverrideSectionsTest::testOverrideField in core/modules/layout_builder/tests/src/Functional/Rest/OverrideSectionsTest.php
Tests that the layout override field is not normalized.
OverridesSectionStorage::getLayoutBuilderUrl in core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php
Gets the URL used to display the Layout Builder UI.
Overview::buildForm in core/modules/forum/src/Form/Overview.php
Form constructor.
PageCacheTest::testPageCacheAnonymous403404 in core/modules/page_cache/tests/src/Functional/PageCacheTest.php
Tests the 4xx-response cache tag is added and invalidated.
PageCacheTest::testPageCacheAnonymousRolePermissions in core/modules/page_cache/tests/src/Functional/PageCacheTest.php
Tests the automatic presence of the anonymous role's cache tag.
PageCacheTest::testQueryParameterFormatRequests in core/modules/page_cache/tests/src/Functional/PageCacheTest.php
Tests support for different cache items with different request formats.
PagePreviewTest::testPagePreview in core/modules/node/tests/src/Functional/PagePreviewTest.php
Checks the node preview functionality.
PagePreviewTest::testSimultaneousPreview in core/modules/node/tests/src/Functional/PagePreviewTest.php
Checks the node preview accessible for simultaneous node editing.
PasswordCompatibilityUpdateTest::testPasswordCompatibility in core/modules/system/tests/src/Functional/Update/PasswordCompatibilityUpdateTest.php
Tests that the password compatibility is working properly.
PathAliasTest::testNodeAlias in core/modules/path/tests/src/Functional/PathAliasTest.php
Tests alias functionality through the node interfaces.
PathChangedHelper::__construct in core/lib/Drupal/Core/Routing/PathChangedHelper.php
Constructs a PathChangedHelper object.
PathEncodedTest::testAliasToEncoded in core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php
PathEncodedTest::testGetEncoded in core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php
PathPluginBase::getUrlInfo in core/modules/views/src/Plugin/views/display/PathPluginBase.php
Generates a URL to this display.
PhpUnitBridgeTest::testErrorOnSiteUnderTest in core/tests/Drupal/FunctionalTests/Core/Test/PhpUnitBridgeTest.php
Tests deprecation message from deprecated route.
PlaceholderMessageTest::testMessagePlaceholder in core/modules/system/tests/src/Functional/Render/PlaceholderMessageTest.php
Tests rendering of message placeholder.
PrepareModulesEntityUninstallForm::getCancelUrl in core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php
Returns the route to go to if the user cancels the action.
ProcessingTest::testBatchRedirectFinishedCallback in core/modules/system/tests/src/Functional/Batch/ProcessingTest.php
Tests batches that redirect in the batch finished callback.
Relationship::buildLinkCollectionFromEntityReferenceField in core/modules/jsonapi/src/JsonApiResource/Relationship.php
Builds a LinkCollection for the given entity reference field.
RenderArrayNonHtmlSubscriberTest::testResponses in core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php
Tests handling of responses by events subscriber.
RenderElementBase::preRenderAjaxForm in core/lib/Drupal/Core/Render/Element/RenderElementBase.php
Adds Ajax information about an element to communicate with JavaScript.
RenderElementTypesTest::testMoreLink in core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php
Tests system #type 'more_link'.
ReorderDisplays::buildForm in core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php
Form constructor.
ResourceObject::buildLinksFromEntity in core/modules/jsonapi/src/JsonApiResource/ResourceObject.php
Builds a LinkCollection for the given entity.
ResourceResponseTestTrait::getExpectedIncludedResourceResponse in core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php
Gets an array of expected ResourceResponses for the given include paths.
ResourceResponseTestTrait::getResourceLink in core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php
Creates an individual resource link for a given resource identifier.
ResourceTestBase::doTestDeleteIndividual in core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
Tests DELETEing an individual resource, plus edge cases to ensure good DX.
ResourceTestBase::doTestPatchIndividual in core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
Tests PATCHing an individual resource, plus edge cases to ensure good DX.
ResourceTestBase::doTestPostIndividual in core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
Tests POSTing an individual resource, plus edge cases to ensure good DX.
ResourceTestBase::doTestRelationshipMutation in core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
Performs one round of relationship POST, PATCH and DELETE route testing.
ResourceTestBase::getExpectedGetRelationshipResponse in core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
Gets an expected ResourceResponse for the given relationship.
ResourceTestBase::getExpectedRelatedResponse in core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
Builds an expected related ResourceResponse for the given field.
ResourceTestBase::testGetIndividual in core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
Tests GETting an individual resource, plus edge cases to ensure good DX.
RevisionLink::getUrlInfo in core/modules/node/src/Plugin/views/field/RevisionLink.php
Returns the URI elements of the link.
RevisionLinkDelete::getUrlInfo in core/modules/node/src/Plugin/views/field/RevisionLinkDelete.php
Returns the URI elements of the link.
RevisionLinkRevert::getUrlInfo in core/modules/node/src/Plugin/views/field/RevisionLinkRevert.php
Returns the URI elements of the link.
RouterTest::testUrlGeneratorFront in core/modules/system/tests/src/Functional/Routing/RouterTest.php
Checks the generate method on the URL generator using the front router.
SearchLanguageTest::testLanguages in core/modules/search/tests/src/Functional/SearchLanguageTest.php
SearchPageListBuilder::buildRow in core/modules/search/src/SearchPageListBuilder.php
Builds a row for an entity in the entity listing.
SearchPageListBuilder::getDefaultOperations in core/modules/search/src/SearchPageListBuilder.php
Gets this list's default operations.
SecurityAdvisoryTest::assertAdminPageLinks in core/modules/system/tests/src/Functional/SecurityAdvisories/SecurityAdvisoryTest.php
Asserts the correct links appear on an admin page.
SecurityAdvisoryTest::assertAdvisoriesNotDisplayed in core/modules/system/tests/src/Functional/SecurityAdvisories/SecurityAdvisoryTest.php
Asserts that security advisory links are not shown on admin pages.
SecurityAdvisoryTest::assertStatusReportLinks in core/modules/system/tests/src/Functional/SecurityAdvisories/SecurityAdvisoryTest.php
Asserts the correct links appear on the status report page.
SecurityAdvisoryTest::testPsa in core/modules/system/tests/src/Functional/SecurityAdvisories/SecurityAdvisoryTest.php
Tests that a security advisory is displayed.
SessionAuthenticationTest::testBasicAuthNoSession in core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php
Tests that a session is not started automatically by basic authentication.
SessionAuthenticationTest::testSessionFromBasicAuthenticationDoesNotLeak in core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php
Check that a basic authentication session does not leak.
SessionExistsCacheContextTest::testCacheContext in core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php
Tests \Drupal\Core\Cache\Context\SessionExistsCacheContext::getContext().
SettingsFormTest::testSettingsForm in core/modules/layout_builder/tests/src/Functional/SettingsFormTest.php
Tests the Layout Builder settings form.
ShortcutCacheTagsTest::testBlock in core/modules/shortcut/tests/src/Functional/ShortcutCacheTagsTest.php
Tests visibility and cacheability of shortcuts in the block.
ShortcutCacheTagsTest::testToolbar in core/modules/shortcut/tests/src/Functional/ShortcutCacheTagsTest.php
Tests visibility and cacheability of shortcuts in the toolbar.
ShortcutLazyBuilders::lazyLinks in core/modules/shortcut/src/ShortcutLazyBuilders.php
#lazy_builder callback; builds shortcut toolbar links.
ShortcutLinksTest::testShortcutLinkOrder in core/modules/shortcut/tests/src/Functional/ShortcutLinksTest.php
Tests the shortcuts are correctly ordered by weight in the toolbar.
ShortcutTest::testCollectionFilterAccess in core/modules/jsonapi/tests/src/Functional/ShortcutTest.php
shortcut_preprocess_page_title in core/modules/shortcut/shortcut.module
Implements hook_preprocess_HOOK() for page title templates.
SimpleConfigSectionStorage::getLayoutBuilderUrl in core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php
Gets the URL used to display the Layout Builder UI.
SiteMaintenanceTest::testSiteMaintenance in core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php
Verifies site maintenance mode functionality.
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.
SystemController::themesPage in core/modules/system/src/Controller/SystemController.php
Returns a theme listing which excludes obsolete themes.
system_requirements in core/modules/system/system.install
Implements hook_requirements().
TableSelectTest::testProcessTableselectWithLinkTitle in core/tests/Drupal/Tests/Core/Render/Element/TableSelectTest.php
@covers ::processTableselect
TaxonomyTermContentModerationTest::testTaxonomyTermParents in core/modules/taxonomy/tests/src/Functional/TaxonomyTermContentModerationTest.php
Tests taxonomy term parents on a moderated vocabulary.
taxonomy_entity_operation in core/modules/taxonomy/taxonomy.module
Implements hook_entity_operation().
template_preprocess_system_security_advisories_fetch_error_message in core/modules/system/system.theme.inc
Prepares variables for security advisories fetch error message templates.
template_preprocess_update_fetch_error_message in core/modules/update/update.report.inc
Prepares variables for update fetch error message templates.
template_preprocess_views_ui_build_group_filter_form in core/modules/views_ui/views_ui.theme.inc
Prepares variables for Views UI build group filter form templates.
template_preprocess_views_ui_rearrange_filter_form in core/modules/views_ui/views_ui.theme.inc
Prepares variables for Views UI rearrange filter form templates.
template_preprocess_views_view_summary in core/modules/views/views.theme.inc
Prepares variables for views summary templates.
template_preprocess_views_view_summary_unformatted in core/modules/views/views.theme.inc
Prepares variables for unformatted summary view templates.
TermTest::testGetIndividualTermWithParent in core/modules/jsonapi/tests/src/Functional/TermTest.php
Tests GETting a term with a parent term other than the default <root> (0).
TermTest::testPatchPath in core/modules/jsonapi/tests/src/Functional/TermTest.php
Tests PATCHing a term's path.
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.
TestController::collapsedOpener in core/modules/system/tests/modules/dialog_renderer_test/src/Controller/TestController.php
Displays a dropbutton with a link that opens in a modal dialog.
TestController::linksDisplay in core/modules/system/tests/modules/dialog_renderer_test/src/Controller/TestController.php
Displays test links that will open in the modal dialog.
TestController::linksDisplay in core/modules/system/tests/modules/off_canvas_test/src/Controller/TestController.php
Displays test links that will open in off-canvas dialog.
TestController::otherDialogLinks in core/modules/system/tests/modules/off_canvas_test/src/Controller/TestController.php
Displays dialogs links to be displayed inside the off-canvas dialog.
Theme::postInstallTasks in core/lib/Drupal/Core/Updater/Theme.php
Returns an array of links to pages that should be visited post operation.
ThemeRenderAndAutoescapeTest::testBubblingMetadataWithRenderable in core/tests/Drupal/KernelTests/Core/Theme/ThemeRenderAndAutoescapeTest.php
Ensure cache metadata is bubbled when using theme_render_and_autoescape().
ThemeTestSubscriber::onRequest in core/modules/system/tests/modules/theme_test/src/EventSubscriber/ThemeTestSubscriber.php
Generates themed output early in a page request.
ToolbarAdminMenuTest::testExternalLink in core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php
Tests that external links added to the menu appear in the toolbar.
ToolbarAdminMenuTest::testLocaleTranslationSubtreesHashCacheClear in core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php
Tests that toolbar cache is cleared when string translations are made.
ToolbarItem::getInfo in core/modules/toolbar/src/Element/ToolbarItem.php
Returns the element properties for this element.
ToolbarLinkBuilder::renderToolbarLinks in core/modules/user/src/ToolbarLinkBuilder.php
Lazy builder callback for rendering toolbar links.
toolbar_test_toolbar in core/modules/toolbar/tests/modules/toolbar_test/toolbar_test.module
Implements hook_toolbar().
toolbar_toolbar in core/modules/toolbar/toolbar.module
Implements hook_toolbar().
TourCacheTagsTest::testRenderedTour in core/modules/tour/tests/src/Functional/TourCacheTagsTest.php
Tests cache tags presence and invalidation of the Tour entity.
TourHelpSection::listTopics in core/modules/tour/src/Plugin/HelpSection/TourHelpSection.php
Returns a list of topics to show in the help section.
TwigExtensionTest::testLinkWithOverriddenAttributes in core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php
@covers ::getLink
TwigThemeTestController::urlToStringRender in core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php
Renders a URL to a string.
UiHelperTrait::drupalLogin in core/tests/Drupal/Tests/UiHelperTrait.php
Logs in a user using the Mink controlled browser.
UiHelperTrait::drupalLogout in core/tests/Drupal/Tests/UiHelperTrait.php
Logs a user out of the Mink controlled browser and confirms.
UpdateCacheTest::testCaches in core/modules/system/tests/src/Functional/UpdateSystem/UpdateCacheTest.php
Tests that caches are cleared during updates.
UpdatePathLastRemovedTest::setUp in core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathLastRemovedTest.php
UpdatePathTestBase::installDrupal in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php
Overrides BrowserTestBase::installDrupal() for update testing.
UpdatePathTestTrait::runUpdates in core/tests/Drupal/Tests/UpdatePathTestTrait.php
Helper function to run pending database updates.
UpdatePathWithBrokenRoutingTest::testWithBrokenRouting in core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathWithBrokenRoutingTest.php
Tests running update.php with some form of broken routing.
UpdateReducedThemeRegistryTest::testUpdatePageWithBrokenThemeHook in core/tests/Drupal/FunctionalTests/Update/UpdateReducedThemeRegistryTest.php
Tests that the update page can be accessed.
UpdateRemovedPostUpdateTest::setUp in core/modules/system/tests/src/Functional/UpdateSystem/UpdateRemovedPostUpdateTest.php
UpdateReportTest::testTemplatePreprocessUpdateFetchErrorMessageWithDblog in core/modules/update/tests/src/Kernel/UpdateReportTest.php
Tests the error message when failing to fetch data with dblog installed.
UpdateSchemaTest::setUp in core/modules/system/tests/src/Functional/UpdateSystem/UpdateSchemaTest.php
UpdateScriptTest::setUp in core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php
UpdateSettingsFormTest::testUpdateSettingsForm in core/modules/update/tests/src/Functional/UpdateSettingsFormTest.php
Tests the update_settings form.
update_authorize_update_batch_finished in core/modules/update/update.authorize.inc
Batch callback: Performs actions when the authorized update batch is done.
UrlAlterFunctionalTest::testUrlAlter in core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php
Tests that URL altering works and that it occurs in the correct order.
UrlAlterTest::testUrlWithQueryString in core/tests/Drupal/KernelTests/Core/Path/UrlAlterTest.php
UrlBubbleableMetadataBubblingTest::testUrlBubbleableMetadataBubbling in core/modules/system/tests/src/Functional/Render/UrlBubbleableMetadataBubblingTest.php
Tests that URL bubbleable metadata is correctly bubbled.
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::testLinkAttributes in core/modules/system/tests/src/Kernel/Common/UrlTest.php
Tests that default and custom attributes are handled correctly on links.
UrlTest::testMergeOptions in core/tests/Drupal/Tests/Core/UrlTest.php
Tests the mergeOptions() method.
UrlTest::testRenderAccess in core/tests/Drupal/Tests/Core/UrlTest.php
Tests the renderAccess() method.
UrlTest::testSetOptions in core/tests/Drupal/Tests/Core/UrlTest.php
Tests the setOptions() method.
UrlTest::testToRenderArray in core/tests/Drupal/Tests/Core/UrlTest.php
Tests deprecation of toRenderArray() 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.
UserBlocksTest::testUserLoginBlock in core/modules/user/tests/src/Functional/UserBlocksTest.php
Tests the user login block.
UserLazyBuilder::userOperationLinks in core/modules/navigation/src/UserLazyBuilder.php
Returns the user operation links in navigation expected format.
UserLoginBlock::build in core/modules/user/src/Plugin/Block/UserLoginBlock.php
Builds and returns the renderable array for this block plugin.
UserLoginHttpTest::getLoginStatusUrlString in core/modules/user/tests/src/Functional/UserLoginHttpTest.php
Gets the URL string for checking login for a given serialization format.
UserLoginTest::testCookiesNotAccepted in core/modules/user/tests/src/Functional/UserLoginTest.php
Tests with a browser that denies cookies.
UserLogoutTest::testLogout in core/modules/user/tests/src/Functional/UserLogoutTest.php
Tests user logout functionality.
UserPasswordResetTest::testUserPasswordReset in core/modules/user/tests/src/Functional/UserPasswordResetTest.php
Tests password reset functionality.
UserPasswordResetTest::testUserPasswordResetWithAdditionalAjaxForm in core/modules/user/tests/src/FunctionalJavascript/UserPasswordResetTest.php
Tests password reset functionality with an AJAX form.
UserTest::sendDeleteRequestForUser in core/modules/jsonapi/tests/src/Functional/UserTest.php
UserTest::testCollectionContainsAnonymousUser in core/modules/jsonapi/tests/src/Functional/UserTest.php
Tests that the collection contains the anonymous user.
UserTest::testCollectionFilterAccess in core/modules/jsonapi/tests/src/Functional/UserTest.php
UserTest::testDeleteRespectsUserCancelDelete in core/modules/jsonapi/tests/src/Functional/UserTest.php
Tests if JSON:API respects user.settings.cancel_method: user_cancel_delete.
UserTest::testGetMailFieldOnlyVisibleToOwner in core/modules/jsonapi/tests/src/Functional/UserTest.php
Tests GETting privacy-sensitive base fields.
UserTest::testPatchDxForSecuritySensitiveBaseFields in core/modules/jsonapi/tests/src/Functional/UserTest.php
Tests PATCHing security-sensitive base fields of the logged in account.
UserTest::testPatchSecurityOtherUser in core/modules/jsonapi/tests/src/Functional/UserTest.php
Tests PATCHing security-sensitive base fields to change other users.
UserTest::testQueryInvolvingRoles in core/modules/jsonapi/tests/src/Functional/UserTest.php
Tests good error DX when trying to filter users by role.
UserTest::testResaveAccountName in core/modules/jsonapi/tests/src/Functional/UserTest.php
Tests users with altered display names.
user_entity_operation in core/modules/user/user.module
Implements hook_entity_operation().
user_toolbar in core/modules/user/user.module
Implements hook_toolbar().
ViewEditForm::getFormBucket in core/modules/views_ui/src/ViewEditForm.php
Add information about a section to a display.
ViewEditForm::renderDisplayTop in core/modules/views_ui/src/ViewEditForm.php
Render the top of the display so it can be updated during ajax operations.
ViewExecutableTest::testGetUrlWithOverriddenUrl in core/modules/views/tests/src/Unit/ViewExecutableTest.php
@covers ::getUrl
ViewExecutableTest::testGetUrlWithPathNoPlaceholders in core/modules/views/tests/src/Unit/ViewExecutableTest.php
@covers ::getUrl
ViewExecutableTest::testGetUrlWithPlaceholdersAndArgs in core/modules/views/tests/src/Unit/ViewExecutableTest.php
@covers ::getUrl
ViewExecutableTest::testGetUrlWithPlaceholdersAndWithoutArgs in core/modules/views/tests/src/Unit/ViewExecutableTest.php
@covers ::getUrl
ViewExecutableTest::testGetUrlWithPlaceholdersAndWithoutArgsAndExceptionValue in core/modules/views/tests/src/Unit/ViewExecutableTest.php
@covers ::getUrl
ViewPreviewForm::actions in core/modules/views_ui/src/ViewPreviewForm.php
Returns an array of supported actions for the current entity form.
ViewsBlockTest::testOperationLinks in core/modules/views_ui/tests/src/Kernel/ViewsBlockTest.php
Tests the editing links for ViewsBlockBase.
views_ui_build_form_url in core/modules/views_ui/admin.inc
Creates the menu path for a standard AJAX form given the form state.
views_ui_contextual_links_view_alter in core/modules/views_ui/views_ui.module
Implements hook_contextual_links_view_alter().
views_ui_entity_operation in core/modules/views_ui/views_ui.module
Implements hook_entity_operation().
views_ui_view_preview_section_display_category_links in core/modules/views_ui/views_ui.module
Returns a link to editing a certain display setting.
views_ui_view_preview_section_handler_links in core/modules/views_ui/views_ui.module
Returns contextual links for each handler of a certain section.
VocabularyListBuilder::getDefaultOperations in core/modules/taxonomy/src/VocabularyListBuilder.php
Gets this list's default operations.
WebAssertTest::testAddressEquals in core/tests/Drupal/FunctionalTests/WebAssertTest.php
@covers ::addressEquals
WebAssertTest::testPageContainsNoDuplicateId in core/tests/Drupal/FunctionalTests/WebAssertTest.php
Tests pageContainsNoDuplicateId() functionality.
WorkflowEditForm::form in core/modules/workflows/src/Form/WorkflowEditForm.php
Gets the actual form array to be built.
WorkflowStateEditForm::actions in core/modules/workflows/src/Form/WorkflowStateEditForm.php
Returns an array of supported actions for the current entity form.
WorkflowStateEditForm::form in core/modules/workflows/src/Form/WorkflowStateEditForm.php
Gets the actual form array to be built.
WorkflowTransitionEditForm::actions in core/modules/workflows/src/Form/WorkflowTransitionEditForm.php
Returns an array of supported actions for the current entity form.
WorkspaceForm::save in core/modules/workspaces/src/Form/WorkspaceForm.php
Form submission handler for the 'save' action.
WorkspaceListBuilder::getDefaultOperations in core/modules/workspaces/src/WorkspaceListBuilder.php
Gets this list's default operations.
WorkspaceListBuilder::offCanvasRender in core/modules/workspaces/src/WorkspaceListBuilder.php
Renders the off canvas elements.
WorkspaceListBuilder::render in core/modules/workspaces/src/WorkspaceListBuilder.php
Builds the entity listing as renderable array for table.html.twig.
WorkspaceMergeForm::getCancelUrl in core/modules/workspaces/src/Form/WorkspaceMergeForm.php
Returns the route to go to if the user cancels the action.
WorkspacePublishForm::getCancelUrl in core/modules/workspaces/src/Form/WorkspacePublishForm.php
Returns the route to go to if the user cancels the action.
WorkspacesLazyBuilders::renderToolbarTab in core/modules/workspaces/src/WorkspacesLazyBuilders.php
Lazy builder callback for rendering the workspace toolbar tab.
WorkspaceSwitcherTest::testToolbarSwitcherDynamicPageCache in core/modules/workspaces/tests/src/Functional/WorkspaceSwitcherTest.php
Tests that the toolbar workspace switcher doesn't disable the page cache.
workspaces_toolbar in core/modules/workspaces/workspaces.module
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.