You are here
355 calls to Url::fromRoute() in Drupal 8
- 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.
- AggregatorController::adminOverview in core/modules/aggregator/src/Controller/AggregatorController.php
- Displays the aggregator administration page.
- AjaxFileManagedMultipleTest::testMultipleFilesUpload in core/modules/file/tests/src/FunctionalJavascript/AjaxFileManagedMultipleTest.php
- Test 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::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().
- 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
- Test http basic authentication.
- BasicAuthTest::testCacheabilityOf401Response in core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php
- Tests the cacheability of Basic Auth's 401 response.
- BasicAuthTest::testGlobalLoginFloodControl in core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php
- Test 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
- Test 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::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>".
- BigPipeRegressionTest::testPlaceholderInParagraph_2802923 in core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipeRegressionTest.php
- Ensure default BigPipe placeholder HTML cannot split paragraphs.
- 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.
- 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.
- BlockPlaceTest::testPlacingBlocksAdmin in core/modules/block_place/tests/src/Functional/BlockPlaceTest.php
- Tests placing blocks as an admin.
- BlockPlaceTest::testPlacingBlocksUnprivileged in core/modules/block_place/tests/src/Functional/BlockPlaceTest.php
- Tests placing blocks as an unprivileged user.
- 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().
- block_place_toolbar in core/modules/block_place/block_place.module
- Implements hook_toolbar().
- 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.
- CKEditorIntegrationTest::testEmbedPreviewAccess in core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php
- Tests preview route access.
- CkeditorOffCanvasTestController::testOffCanvas in core/modules/ckeditor/tests/modules/src/CkeditorOffCanvasTestController.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.
- ColorSafePreviewTest::testColorPreview in core/modules/color/tests/src/Functional/ColorSafePreviewTest.php
- Ensures color preview.html is sanitized.
- 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
- Builds links for the given entity.
- 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
- Test the comment approve link.
- CommentLinksTest::testLinkReply in core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php
- Test 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
- CommentTest::testPostIndividualDxWithoutCriticalBaseFields in core/modules/jsonapi/tests/src/Functional/CommentTest.php
- Tests POSTing a comment without critical base fields.
- CommentTest::testPostIndividualSkipCommentApproval in core/modules/jsonapi/tests/src/Functional/CommentTest.php
- Tests POSTing a comment with and without 'skip comment approval'.
- 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
- Test 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
- ConfirmFormTest::testConfirmFormWithExternalDestination in core/modules/system/tests/src/Functional/Form/ConfirmFormTest.php
- Tests that the confirm form does not use external destinations.
- ContactForm::getRedirectUrl in core/modules/contact/src/Entity/ContactForm.php
- Returns the url object for redirect path.
- ContactLink::getUrlInfo in core/modules/contact/src/Plugin/views/field/ContactLink.php
- Returns the URI elements of the link.
- ContentEntityNormalizer::getEntityUri in core/modules/hal/src/Normalizer/ContentEntityNormalizer.php
- Constructs the entity URI.
- ContentModerationConfigureForm::buildConfigurationForm in core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php
- Form constructor.
- 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/src/Tests/ContentTranslationUITestBase.php
- Tests the basic translation workflow.
- ContentTranslationUITestBase::doTestBasicTranslation in core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php
- Tests the basic translation workflow.
- ContentTranslationUITestBase::doTestTranslationDeletion in core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php
- Tests translation deletion.
- 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
- Test 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.
- DbUpdatesTrait::applyUpdates in core/modules/system/src/Tests/Update/DbUpdatesTrait.php
- Applies any pending DB updates through the Update UI.
- DbUpdatesTrait::applyUpdates in core/modules/system/tests/src/Functional/Update/DbUpdatesTrait.php
- Applies any pending DB updates through the Update UI.
- 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.
- DrupalMessengerServiceTest::testDrupalMessengerService in core/modules/system/tests/src/Functional/Bootstrap/DrupalMessengerServiceTest.php
- Tests Messenger service.
- 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
- Test 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/src/Tests/Entity/EntityCacheTagsTestBase.php
- Tests cache tags presence and invalidation of the entity when referenced.
- 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.
- EntityDisplayModeController::formModeTypeSelection in core/modules/field_ui/src/Controller/EntityDisplayModeController.php
- Provides a list of eligible entity types for adding form modes.
- EntityDisplayModeController::viewModeTypeSelection in core/modules/field_ui/src/Controller/EntityDisplayModeController.php
- Provides a list of eligible entity types for adding view modes.
- 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.
- 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
- Test 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.
- ExternalNormalizersTest::testFormatAgnosticNormalizers in core/modules/jsonapi/tests/src/Functional/ExternalNormalizersTest.php
- Tests a format-agnostic normalizer.
- FeedViewBuilder::buildComponents in core/modules/aggregator/src/FeedViewBuilder.php
- Builds the component fields and properties of a set of entities.
- FieldConfigListBuilder::buildRow in core/modules/field_ui/src/FieldConfigListBuilder.php
- Builds a row for an entity in the entity listing.
- 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 multipage sequence.
- field_ui_entity_operation in core/modules/field_ui/field_ui.module
- Implements hook_entity_operation().
- 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.
- 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
- FormElementsRenderTest::testDrupalRenderFormElements in core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php
- Tests rendering form elements without passing through
\Drupal::formBuilder()->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
- Test the use of Link::preRenderLinks() on a nested array of links.
- FunctionsTest::testDrupalPreRenderLinksLegacy in core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php
- Test the use of drupal_pre_render_links() 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
- Test that the glossary also works on a language prefixed URL.
- HelpTopicPluginBase::toUrl in core/modules/help_topics/src/HelpTopicPluginBase.php
- Returns the URL for viewing the help topic.
- HelpTopicPluginController::viewHelpTopic in core/modules/help_topics/src/Controller/HelpTopicPluginController.php
- Displays a help topic page.
- 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.
- JsonApiFunctionalTest::testRead in core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTest.php
- Test the GET method.
- JsonApiFunctionalTest::testWrite in core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTest.php
- Test POST, PATCH and DELETE.
- JsonApiRegressionTest::testBundlelessRelationshipMutationFromIssue2973681 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
- Ensure POST and PATCH works for bundle-less relationship routes.
- JsonApiRegressionTest::testEmptyRelationshipFilteringFromIssue3025372 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
- Ensure filtering for entities with empty entity reference fields works.
- 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.
- 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.
- 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::providerValidate in core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php
- Data provider for ::testValidate
- 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
- Finds all local actions that appear on a named route.
- 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.
- LocalTaskManager::getTasksBuild in core/lib/Drupal/Core/Menu/LocalTaskManager.php
- Gets the render array for all local tasks.
- 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.
- MediaUiFunctionalTest::testMediaReferenceWidget in core/modules/media/tests/src/Functional/MediaUiFunctionalTest.php
- Tests the default autocomplete widgets for media reference fields.
- media_field_widget_multivalue_form_alter in core/modules/media/media.module
- Implements hook_field_widget_multivalue_form_alter().
- 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().
- MenuLinkContentTest::testLinkOptionsSerialization in core/modules/jsonapi/tests/src/Functional/MenuLinkContentTest.php
- Test requests using a serialized field item property.
- MenuUiTest::doMenuTests in core/modules/menu_ui/tests/src/Functional/MenuUiTest.php
- Tests menu functionality.
- menu_test_menu_local_tasks_alter in core/modules/system/tests/modules/menu_test/menu_test.module
- Implements hook_menu_local_tasks_alter().
- 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.
- ModulesListForm::buildRow in core/modules/system/src/Form/ModulesListForm.php
- Builds a table row for the system modules page.
- 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.
- 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::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
- Test 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.
- OtherInstallationProfileTestsTest::testOtherInstallationProfile in core/modules/simpletest/tests/src/Functional/OtherInstallationProfileTestsTest.php
- Tests that tests located in another installation profile appear.
- 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
specified via a query parameter.
- PagePreviewTest::testPagePreview in core/modules/node/tests/src/Functional/PagePreviewTest.php
- Checks the node preview functionality.
- PathAliasTest::testNodeAlias in core/modules/path/tests/src/Functional/PathAliasTest.php
- Tests alias functionality through the node interfaces.
- 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
- @expectedDeprecation This is the deprecation message for deprecation_test_function().
- PlaceholderMessageTest::testMessagePlaceholder in core/modules/system/tests/src/Functional/Render/PlaceholderMessageTest.php
- Test 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.
- RenderElement::preRenderAjaxForm in core/lib/Drupal/Core/Render/Element/RenderElement.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::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::testDeleteIndividual in core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
- Tests DELETEing an individual resource, plus edge cases to ensure good DX.
- ResourceTestBase::testGetIndividual in core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
- Tests GETting an individual resource, plus edge cases to ensure good DX.
- ResourceTestBase::testPatchIndividual in core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
- Tests PATCHing an individual resource, plus edge cases to ensure good DX.
- ResourceTestBase::testPostIndividual in core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
- Tests POSTing 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.
- 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.
- 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().
- 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.
- SimpletestResultsForm::buildForm in core/modules/simpletest/src/Form/SimpletestResultsForm.php
- Form constructor.
- SimpletestUiTest::testTestingThroughUI in core/modules/simpletest/tests/src/Functional/SimpletestUiTest.php
- Tests that unit, kernel, and functional tests work through the UI.
- SiteMaintenanceTest::testSiteMaintenance in core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php
- Verifies site maintenance mode functionality.
- StandardProfileTest::doFrontPageRdfaTests in core/modules/rdf/tests/src/Functional/StandardProfileTest.php
- Tests that data is exposed in the front page teasers.
- StandardTest::testStandard in core/profiles/standard/tests/src/Functional/StandardTest.php
- Tests Standard installation profile.
- 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.
- 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
- 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.
- 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::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::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.
- 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::setUp in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php
- Overrides WebTestBase::setUp() for update testing.
- UpdatePathTestBase::setUp in core/modules/system/src/Tests/Update/UpdatePathTestBase.php
- Overrides WebTestBase::setUp() 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.
- UpdateRemovedPostUpdateTest::setUp in core/modules/system/tests/src/Functional/UpdateSystem/UpdateRemovedPostUpdateTest.php
- UpdateSchemaTest::setUp in core/modules/system/tests/src/Functional/UpdateSystem/UpdateSchemaTest.php
- UpdateScriptTest::setUp in core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php
- 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
- Test 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/Functional/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::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.
- 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.
- 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::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::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
- Test 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_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.
- views_ui_build_form_url in core/modules/views_ui/admin.inc
- Create the menu path for one of our standard AJAX forms based upon known
information about the form.
- views_ui_contextual_links_view_alter in core/modules/views_ui/views_ui.module
- Implements hook_contextual_links_view_alter().
- 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.
- 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.
- WorkspaceMergeForm::getCancelUrl in core/modules/workspaces/src/Form/WorkspaceMergeForm.php
- Returns the route to go to if the user cancels the action.
- workspaces_toolbar in core/modules/workspaces/workspaces.module
- Implements hook_toolbar().
- _batch_finished in core/includes/batch.inc
- Ends the batch processing.