242 calls to BlockCreationTrait::placeBlock()
- AccessDeniedTest::setUp in core/
modules/ system/ tests/ src/ Functional/ System/ AccessDeniedTest.php - AccessDeniedTest::testAccessDenied in core/
modules/ system/ tests/ src/ Functional/ System/ AccessDeniedTest.php - AccessTestBase::setUp in core/
modules/ user/ tests/ src/ Functional/ Views/ AccessTestBase.php - Sets up the test.
- AjaxBlockTest::setUp in core/
modules/ layout_builder/ tests/ src/ FunctionalJavascript/ AjaxBlockTest.php - AjaxFormCacheTest::testBlockForms in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ AjaxFormCacheTest.php - Tests AJAX forms in blocks.
- AjaxFormCacheTest::testQueryString in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ AjaxFormCacheTest.php - Tests AJAX forms on pages with a query string.
- AreaEntityTest::setUpFixtures in core/
modules/ views/ tests/ src/ Kernel/ Handler/ AreaEntityTest.php - Sets up the configuration and schema of views and views_test_data modules.
- AreaOrderTest::setUpFixtures in core/
modules/ views/ tests/ src/ Kernel/ Handler/ AreaOrderTest.php - Sets up the configuration and schema of views and views_test_data modules.
- ArgumentDefaultTest::testArgumentDefaultNode in core/
modules/ views/ tests/ src/ Functional/ Plugin/ ArgumentDefaultTest.php - Tests node default argument.
- ArgumentDefaultTest::testArgumentDefaultUrlGeneration in core/
modules/ views/ tests/ src/ Functional/ Plugin/ ArgumentDefaultTest.php - Tests the more line generation if a default argument is provided.
- BasicTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Wizard/ BasicTest.php - Sets up the test.
- BasicTest::testViewsWizardAndListing in core/
modules/ views/ tests/ src/ Functional/ Wizard/ BasicTest.php - BlockAdminThemeTest::testClaroAdminTheme in core/
modules/ block/ tests/ src/ Functional/ BlockAdminThemeTest.php - Ensure contextual links are disabled in Claro theme.
- BlockCacheTest::setUp in core/
modules/ block/ tests/ src/ Functional/ BlockCacheTest.php - BlockContentCacheTagsTest::testBlock in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentCacheTagsTest.php - Tests that the block is cached with the correct contexts and tags.
- BlockContentDeletionTest::testDeletingBlockContentShouldClearPluginCache in core/
modules/ block_content/ tests/ src/ Kernel/ BlockContentDeletionTest.php - Tests deleting a block_content updates the discovered block plugin.
- BlockContentRevisionDeleteTest::setUp in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentRevisionDeleteTest.php - Sets the test up.
- BlockContentRevisionRevertTest::setUp in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentRevisionRevertTest.php - Sets the test up.
- BlockContentTestBase::setUp in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentTestBase.php - Sets the test up.
- BlockContentTranslationUITest::setUp in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentTranslationUITest.php - BlockContentTypeTest::setUp in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentTypeTest.php - Sets the test up.
- 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.
- BlockExposedFilterAJAXTest::testExposedFilteringAndReset in core/
modules/ views/ tests/ src/ FunctionalJavascript/ BlockExposedFilterAJAXTest.php - Tests if exposed filtering and reset works with a views block and ajax.
- BlockFormInBlockTest::setUp in core/
modules/ block/ tests/ src/ Functional/ BlockFormInBlockTest.php - BlockHiddenRegionTest::setUp in core/
modules/ block/ tests/ src/ Functional/ BlockHiddenRegionTest.php - BlockHookOperationTest::testBlockOperationAlter in core/
modules/ block/ tests/ src/ Functional/ BlockHookOperationTest.php - Tests the block list to see if the test_operation link is added.
- BlockHtmlTest::setUp in core/
modules/ block/ tests/ src/ Functional/ BlockHtmlTest.php - BlockInstallTest::testCacheTagInvalidationUponInstallation in core/
modules/ block/ tests/ src/ Functional/ BlockInstallTest.php - BlockInvalidRegionTest::testBlockInInvalidRegion in core/
modules/ block/ tests/ src/ Functional/ BlockInvalidRegionTest.php - Tests that blocks assigned to invalid regions work correctly.
- BlockLanguageTest::testLanguageBlockVisibilityLanguageDelete in core/
modules/ block/ tests/ src/ Functional/ BlockLanguageTest.php - Tests if the visibility settings are removed if the language is deleted.
- BlockLayoutTourTest::setUp in core/
modules/ tour/ tests/ src/ Functional/ Block/ BlockLayoutTourTest.php - BlockRebuildTest::testRebuildInvalidBlocks in core/
modules/ block/ tests/ src/ Kernel/ BlockRebuildTest.php - @covers ::block_rebuild
- BlockRebuildTest::testRebuildNoInvalidBlocks in core/
modules/ block/ tests/ src/ Kernel/ BlockRebuildTest.php - @covers ::block_rebuild
- BlockRenderOrderTest::testBlockRenderOrder in core/
modules/ block/ tests/ src/ Functional/ BlockRenderOrderTest.php - Tests the render order of the blocks.
- BlockSystemBrandingTest::setUp in core/
modules/ block/ tests/ src/ Functional/ BlockSystemBrandingTest.php - BlockTest::testBlock in core/
modules/ block/ tests/ src/ Functional/ BlockTest.php - Tests configuring and moving a module-define block to specific regions.
- BlockTest::testBlockAccess in core/
modules/ block/ tests/ src/ Functional/ BlockTest.php - Tests the block access.
- BlockTest::testBlockCacheTags in core/
modules/ block/ tests/ src/ Functional/ BlockTest.php - Tests that cache tags are properly set and bubbled up to the page cache.
- BlockTest::testThemeAdminLink in core/
modules/ block/ tests/ src/ Functional/ BlockTest.php - Tests that a link exists to block layout from the appearance form.
- BlockTest::testThemeName in core/
modules/ block/ tests/ src/ Functional/ BlockTest.php - Tests block display of theme titles.
- BlockTest::testUninstallTheme in core/
modules/ block/ tests/ src/ Functional/ BlockTest.php - Tests that uninstalling a theme removes its block configuration.
- BlockUiTest::setUp in core/
modules/ block/ tests/ src/ Functional/ BlockUiTest.php - BlockUiTest::testBlockAdminUiPage in core/
modules/ block/ tests/ src/ Functional/ BlockUiTest.php - Tests block admin page exists and functions correctly.
- BlockUiTest::testBlockDemoUiPage in core/
modules/ block/ tests/ src/ Functional/ BlockUiTest.php - Tests block demo page exists and functions correctly.
- BlockUiTest::testBrokenBlockVisibility in core/
modules/ block/ tests/ src/ Functional/ BlockUiTest.php - Tests that users without permission are not able to view broken blocks.
- BlockXssTest::testXssInCategory in core/
modules/ block/ tests/ src/ Functional/ BlockXssTest.php - Tests XSS in category.
- BlockXssTest::testXssInTitle in core/
modules/ block/ tests/ src/ Functional/ BlockXssTest.php - Tests XSS in title.
- BookBreadcrumbTest::setUp in core/
modules/ book/ tests/ src/ Functional/ BookBreadcrumbTest.php - BookContentModerationTest::setUp in core/
modules/ book/ tests/ src/ Functional/ BookContentModerationTest.php - BookTest::setUp in core/
modules/ book/ tests/ src/ Functional/ BookTest.php - BookTest::testBookNavigationBlock in core/
modules/ book/ tests/ src/ Functional/ BookTest.php - Tests the functionality of the book navigation block.
- BookTest::testBookNavigationBlockOnUnpublishedBook in core/
modules/ book/ tests/ src/ Functional/ BookTest.php - Tests the book navigation block when book is unpublished.
- BookTest::testNavigationBlockOnAccessModuleInstalled in core/
modules/ book/ tests/ src/ Functional/ BookTest.php - Tests the book navigation block when an access module is installed.
- Breadcrumb404Test::testBreadcrumbOn404Pages in core/
tests/ Drupal/ FunctionalTests/ Breadcrumb/ Breadcrumb404Test.php - Tests that different 404s don't create unnecessary cache entries.
- BreadcrumbFrontCacheContextsTest::setUp in core/
modules/ system/ tests/ src/ Functional/ Menu/ BreadcrumbFrontCacheContextsTest.php - BreadcrumbTest::setUp in core/
modules/ system/ tests/ src/ Functional/ Menu/ BreadcrumbTest.php - ClaroLayoutBuilderTest::setUp in core/
tests/ Drupal/ FunctionalTests/ Theme/ ClaroLayoutBuilderTest.php - CommentAdminTest::setUp in core/
modules/ comment/ tests/ src/ Functional/ CommentAdminTest.php - CommentAdminTest::testApprovalAdminInterface in core/
modules/ comment/ tests/ src/ Functional/ Views/ CommentAdminTest.php - Tests comment approval functionality through admin/content/comment.
- CommentBlockTest::testRecentCommentBlock in core/
modules/ comment/ tests/ src/ Functional/ CommentBlockTest.php - Tests the recent comments block.
- CommentNonNodeTest::setUp in core/
modules/ comment/ tests/ src/ Functional/ CommentNonNodeTest.php - CommentTestBase::setUp in core/
modules/ comment/ tests/ src/ Functional/ CommentTestBase.php - CommentTypeTest::setUp in core/
modules/ comment/ tests/ src/ Functional/ CommentTypeTest.php - Sets the test up.
- ConfigEntityImportTest::doBlockUpdate in core/
modules/ system/ tests/ src/ Kernel/ Entity/ ConfigEntityImportTest.php - Tests updating a block during import.
- ConfigEntityListMultilingualTest::setUp in core/
modules/ config/ tests/ src/ Functional/ ConfigEntityListMultilingualTest.php - ConfigEntityListTest::setUp in core/
modules/ config/ tests/ src/ Functional/ ConfigEntityListTest.php - ConfigExportTest::setUp in core/
modules/ config/ tests/ src/ FunctionalJavascript/ ConfigExportTest.php - ConfigImporterMissingContentTest::testMissingBlockContent in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigImporterMissingContentTest.php - Tests the missing content, config import and the block plugin manager.
- ConfigLanguageOverrideWebTest::testSiteNameTranslation in core/
modules/ config/ tests/ src/ Functional/ ConfigLanguageOverrideWebTest.php - Tests translating the site name.
- ConfigSingleImportExportTest::setUp in core/
modules/ config/ tests/ src/ Functional/ ConfigSingleImportExportTest.php - ConfigSingleImportExportTest::testImportSimpleConfiguration in core/
modules/ config/ tests/ src/ Functional/ ConfigSingleImportExportTest.php - Tests importing a simple configuration file.
- ConfigTranslationCacheTest::setUp in core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationCacheTest.php - ConfigTranslationListUiTest::doBlockListTest in core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationListUiTest.php - Tests the block listing for the translate operation.
- ConfigTranslationListUiTest::setUp in core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationListUiTest.php - ConfigTranslationOverviewTest::setUp in core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationOverviewTest.php - ConfigTranslationUiSiteInformationTest::testSiteInformationTranslationUi in core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationUiSiteInformationTest.php - Tests the site information translation interface.
- ConfigTranslationUiTestBase::setUp in core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationUiTestBase.php - ContactSitewideTest::setUp in core/
modules/ contact/ tests/ src/ Functional/ ContactSitewideTest.php - ContentTranslationLanguageChangeTest::setUp in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationLanguageChangeTest.php - ContentTranslationOperationsTest::testOperationTranslateLink in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationOperationsTest.php - Tests that the operation "Translate" is displayed in the content listing.
- ContextualLinksTest::testContextualLinksOutsideLayout in core/
modules/ layout_builder/ tests/ src/ FunctionalJavascript/ ContextualLinksTest.php - Tests that contextual links outside the layout are removed.
- DateFormatTest::setUp in core/
modules/ system/ tests/ src/ FunctionalJavascript/ System/ DateFormatTest.php - DateTimeTest::setUp in core/
modules/ system/ tests/ src/ Functional/ System/ DateTimeTest.php - DbLogTest::setUp in core/
modules/ dblog/ tests/ src/ Functional/ DbLogTest.php - DefaultViewsTest::setUp in core/
modules/ views/ tests/ src/ Functional/ DefaultViewsTest.php - Sets up the test.
- DisabledDisplayTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Plugin/ DisabledDisplayTest.php - Sets up the test.
- DisplayBlockTest::testBlockContextualLinks in core/
modules/ block/ tests/ src/ Functional/ Views/ DisplayBlockTest.php - Tests the contextual links on a Views block.
- DisplayBlockTest::testBlockEmptyRendering in core/
modules/ block/ tests/ src/ Functional/ Views/ DisplayBlockTest.php - Tests the various test cases of empty block rendering.
- DisplayBlockTest::testBlockRendering in core/
modules/ block/ tests/ src/ Functional/ Views/ DisplayBlockTest.php - Tests the actual rendering of the views block.
- DisplayBlockTest::testDeleteBlockDisplay in core/
modules/ block/ tests/ src/ Functional/ Views/ DisplayBlockTest.php - Tests removing a block display.
- DisplayFeedTest::testFeedOutput in core/
modules/ views/ tests/ src/ Functional/ Plugin/ DisplayFeedTest.php - Tests the rendered output.
- DisplayModeBundleSelectionTest::setUp in core/
modules/ field_ui/ tests/ src/ FunctionalJavascript/ DisplayModeBundleSelectionTest.php - DisplayPageWebTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Plugin/ DisplayPageWebTest.php - Sets up the test.
- DisplayPageWebTest::testPageDisplayMenu in core/
modules/ views/ tests/ src/ Functional/ Plugin/ DisplayPageWebTest.php - Tests menu settings of page displays.
- DisplayTest::testInvalidDisplayPlugins in core/
modules/ views/ tests/ src/ Functional/ Plugin/ DisplayTest.php - Tests invalid display plugins.
- DisplayTest::testPageContextualLinks in core/
modules/ views_ui/ tests/ src/ FunctionalJavascript/ DisplayTest.php - Tests contextual links on Views page displays.
- DuplicateContextualLinksTest::testSameContextualLinks in core/
modules/ contextual/ tests/ src/ FunctionalJavascript/ DuplicateContextualLinksTest.php - Tests the contextual links with same id.
- EntityDisplayModeTest::setUp in core/
modules/ field_ui/ tests/ src/ Functional/ EntityDisplayModeTest.php - EntityReferenceAdminTest::setUp in core/
modules/ field/ tests/ src/ FunctionalJavascript/ EntityReference/ EntityReferenceAdminTest.php - EntityReferenceAdminTest::setUp in core/
modules/ field/ tests/ src/ Functional/ EntityReference/ EntityReferenceAdminTest.php - ExposedFormTest::testExposedBlock in core/
modules/ views/ tests/ src/ Functional/ Plugin/ ExposedFormTest.php - Tests the exposed block functionality.
- FieldUIDeleteTest::setUp in core/
modules/ field_ui/ tests/ src/ Functional/ FieldUIDeleteTest.php - FieldUiIntegrationTest::setUp in core/
modules/ media_library/ tests/ src/ FunctionalJavascript/ FieldUiIntegrationTest.php - FieldUIRouteTest::setUp in core/
modules/ field_ui/ tests/ src/ Functional/ FieldUIRouteTest.php - FileFieldWidgetTest::setUp in core/
modules/ file/ tests/ src/ Functional/ FileFieldWidgetTest.php - FilterAdminTest::setUp in core/
modules/ filter/ tests/ src/ Functional/ FilterAdminTest.php - FilterFormatAccessTest::setUp in core/
modules/ filter/ tests/ src/ Functional/ FilterFormatAccessTest.php - ForumBlockTest::testActiveForumTopicsBlock in core/
modules/ forum/ tests/ src/ Functional/ ForumBlockTest.php - Tests the "Active forum topics" block.
- ForumBlockTest::testNewForumTopicsBlock in core/
modules/ forum/ tests/ src/ Functional/ ForumBlockTest.php - Tests the "New forum topics" block.
- ForumNodeAccessTest::testForumNodeAccess in core/
modules/ forum/ tests/ src/ Functional/ ForumNodeAccessTest.php - Creates some users and creates a public node and a private node.
- ForumTest::setUp in core/
modules/ forum/ tests/ src/ Functional/ ForumTest.php - HtmlResponseAttachmentsTest::testRenderCachedBlock in core/
modules/ system/ tests/ src/ Functional/ Render/ HtmlResponseAttachmentsTest.php - Tests caching of ['#attached'].
- InlineBlockTestBase::setUp in core/
modules/ layout_builder/ tests/ src/ FunctionalJavascript/ InlineBlockTestBase.php - ItemsPerPageTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Wizard/ ItemsPerPageTest.php - Sets up the test.
- ItemsPerPageTest::testItemsPerPage in core/
modules/ views/ tests/ src/ Functional/ Wizard/ ItemsPerPageTest.php - Tests the number of items per page.
- LanguageBreadcrumbTest::setUp in core/
modules/ language/ tests/ src/ Functional/ LanguageBreadcrumbTest.php - LanguagePathMonolingualTest::setUp in core/
modules/ language/ tests/ src/ Functional/ LanguagePathMonolingualTest.php - LanguageSwitchingTest::testLanguageBlock in core/
modules/ language/ tests/ src/ Functional/ LanguageSwitchingTest.php - Functional tests for the language switcher block.
- LanguageSwitchingTest::testLanguageBlockWithDomain in core/
modules/ language/ tests/ src/ Functional/ LanguageSwitchingTest.php - Tests language switcher links for domain based negotiation.
- LanguageSwitchingTest::testLanguageSessionSwitchLinks in core/
modules/ language/ tests/ src/ Functional/ LanguageSwitchingTest.php - Tests language switcher links for session based negotiation.
- LanguageSwitchingTest::testRestrictedPaths in core/
modules/ language/ tests/ src/ Functional/ LanguageSwitchingTest.php - Test that the language switching block does not expose restricted paths.
- LanguageTourTest::setUp in core/
modules/ tour/ tests/ src/ Functional/ Language/ LanguageTourTest.php - LanguageUILanguageNegotiationTest::testDisableLanguageSwitcher in core/
modules/ language/ tests/ src/ Functional/ LanguageUILanguageNegotiationTest.php - Tests if the language switcher block gets deleted when a language type has been made not configurable.
- LanguageUILanguageNegotiationTest::testUrlLanguageFallback in core/
modules/ language/ tests/ src/ Functional/ LanguageUILanguageNegotiationTest.php - Tests URL language detection when the requested URL has no language.
- LayoutBuilderContentModerationIntegrationTest::setUp in core/
modules/ content_moderation/ tests/ src/ Functional/ LayoutBuilderContentModerationIntegrationTest.php - LayoutBuilderLocalTaskTest::setUp in core/
modules/ layout_builder/ tests/ src/ Functional/ LayoutBuilderLocalTaskTest.php - LayoutBuilderNestedFormUiTest::setUp in core/
modules/ layout_builder/ tests/ src/ FunctionalJavascript/ LayoutBuilderNestedFormUiTest.php - LayoutBuilderTest::setUp in core/
modules/ layout_builder/ tests/ src/ FunctionalJavascript/ LayoutBuilderTest.php - LayoutBuilderTest::testBreadcrumb in core/
modules/ layout_builder/ tests/ src/ Functional/ LayoutBuilderTest.php - Tests the expected breadcrumbs of the Layout Builder UI.
- LayoutBuilderTestBase::setUp in core/
modules/ layout_builder/ tests/ src/ Functional/ LayoutBuilderTestBase.php - LayoutBuilderToolbarTest::setUp in core/
modules/ layout_builder/ tests/ src/ FunctionalJavascript/ LayoutBuilderToolbarTest.php - LayoutBuilderTranslationTest::setUpEntities in core/
modules/ layout_builder/ tests/ src/ Functional/ LayoutBuilderTranslationTest.php - Setup translated entity with layouts.
- LayoutSectionTest::testLayoutPageTitle in core/
modules/ layout_builder/ tests/ src/ Functional/ LayoutSectionTest.php - Ensures that the entity title is displayed.
- LinkFieldUITest::setUp in core/
modules/ link/ tests/ src/ Functional/ LinkFieldUITest.php - LocalActionTest::setUp in core/
modules/ system/ tests/ src/ Functional/ Menu/ LocalActionTest.php - LocaleConfigTranslationImportTest::testConfigTranslationModuleInstall in core/
modules/ locale/ tests/ src/ Functional/ LocaleConfigTranslationImportTest.php - Tests update changes configuration translations if enabled after language.
- LocalTasksTest::setUp in core/
modules/ system/ tests/ src/ Functional/ Menu/ LocalTasksTest.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.
- ManageDisplayTest::setUp in core/
modules/ field_ui/ tests/ src/ FunctionalJavascript/ ManageDisplayTest.php - ManageDisplayTest::setUp in core/
modules/ field_ui/ tests/ src/ Functional/ ManageDisplayTest.php - ManageFieldsFunctionalTestBase::setUp in core/
modules/ field_ui/ tests/ src/ Functional/ ManageFieldsFunctionalTestBase.php - ManageFieldsTest::setUp in core/
modules/ field_ui/ tests/ src/ FunctionalJavascript/ ManageFieldsTest.php - MediaAccessTest::setUp in core/
modules/ media/ tests/ src/ Functional/ MediaAccessTest.php - MediaOverviewTest::setUp in core/
modules/ media_library/ tests/ src/ FunctionalJavascript/ MediaOverviewTest.php - MediaUiFunctionalTest::setUp in core/
modules/ media/ tests/ src/ Functional/ MediaUiFunctionalTest.php - MediaUiJavascriptTest::setUp in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaUiJavascriptTest.php - MediaUiReferenceWidgetTest::setUp in core/
modules/ media/ tests/ src/ Functional/ MediaUiReferenceWidgetTest.php - MenuAccessTest::setUp in core/
modules/ system/ tests/ src/ Functional/ Menu/ MenuAccessTest.php - MenuAccessTest::testMenuBlockLinksAccessCheck in core/
modules/ system/ tests/ src/ Functional/ Menu/ MenuAccessTest.php - Tests menu link for route with access check.
- MenuActiveTrail403Test::setUp in core/
tests/ Drupal/ FunctionalTests/ Menu/ MenuActiveTrail403Test.php - MenuCacheTagsTest::testMenuBlock in core/
modules/ menu_ui/ tests/ src/ Functional/ MenuCacheTagsTest.php - Tests cache tags presence and invalidation of the Menu entity.
- MenuLinkReorderTest::testDefaultMenuLinkReorder in core/
modules/ menu_ui/ tests/ src/ Functional/ MenuLinkReorderTest.php - Tests creating, editing, deleting menu links via node form widget.
- MenuLinkSecurityTest::testMenuLink in core/
modules/ system/ tests/ src/ Functional/ Menu/ MenuLinkSecurityTest.php - Ensures that a menu link does not cause an XSS issue.
- MenuLinkTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Plugin/ MenuLinkTest.php - Sets up the test.
- MenuRouterTest::setUp in core/
modules/ system/ tests/ src/ Functional/ Menu/ MenuRouterTest.php - MenuTest::testMenus in core/
modules/ views/ tests/ src/ Functional/ Wizard/ MenuTest.php - Tests the menu functionality.
- MenuUiContentModerationTest::setUp in core/
modules/ menu_ui/ tests/ src/ Functional/ MenuUiContentModerationTest.php - MenuUiContentTranslationTest::setUp in core/
modules/ menu_ui/ tests/ src/ Functional/ MenuUiContentTranslationTest.php - MenuUiJavascriptTest::testBlockContextualLinks in core/
modules/ menu_ui/ tests/ src/ FunctionalJavascript/ MenuUiJavascriptTest.php - Tests the contextual links on a menu block.
- MenuUiNodeTest::setUp in core/
modules/ menu_ui/ tests/ src/ Functional/ MenuUiNodeTest.php - MenuUiTest::addCustomMenu in core/
modules/ menu_ui/ tests/ src/ Functional/ MenuUiTest.php - Creates a custom menu.
- MenuUiTest::setUp in core/
modules/ menu_ui/ tests/ src/ Functional/ MenuUiTest.php - MenuUiTest::testUserLoginUserLogoutLinks in core/
modules/ menu_ui/ tests/ src/ Functional/ MenuUiTest.php - Tests the user login/logout links.
- ModeratedContentLocalTaskTest::setUp in core/
modules/ content_moderation/ tests/ src/ Functional/ ModeratedContentLocalTaskTest.php - ModerationStateTestBase::setUp in core/
modules/ content_moderation/ tests/ src/ Functional/ ModerationStateTestBase.php - Sets the test up.
- MoveBlockFormTest::setUp in core/
modules/ layout_builder/ tests/ src/ FunctionalJavascript/ MoveBlockFormTest.php - NavigationBlockUiTest::setUp in core/
modules/ navigation/ tests/ src/ FunctionalJavascript/ NavigationBlockUiTest.php - NavigationShortcutsBlockTest::testNavigationBlock in core/
modules/ navigation/ tests/ src/ Functional/ NavigationShortcutsBlockTest.php - Tests visibility and cacheability of shortcuts in the navigation bar.
- NavigationTopBarTest::setUp in core/
modules/ navigation/ tests/ src/ Functional/ NavigationTopBarTest.php - NewDefaultThemeBlocksTest::testBlockCollision in core/
modules/ block/ tests/ src/ Kernel/ NewDefaultThemeBlocksTest.php - Checks that a theme block is still created when same ID exists.
- NewDefaultThemeBlocksTest::testNewDefaultThemeBlocks in core/
modules/ block/ tests/ src/ Kernel/ NewDefaultThemeBlocksTest.php - Check the blocks are correctly copied by block_themes_installed().
- NodeAccessMenuLinkTest::setUp in core/
modules/ node/ tests/ src/ Functional/ NodeAccessMenuLinkTest.php - NodeBlockFunctionalTest::testRecentNodeBlock in core/
modules/ node/ tests/ src/ Functional/ NodeBlockFunctionalTest.php - Tests the recent comments block.
- NodeEditFormTest::setUp in core/
modules/ node/ tests/ src/ Functional/ NodeEditFormTest.php - NodeHelpTest::setUp in core/
modules/ node/ tests/ src/ Functional/ NodeHelpTest.php - NodeRevisionsUiBypassAccessTest::testDisplayRevisionTab in core/
modules/ node/ tests/ src/ Functional/ NodeRevisionsUiBypassAccessTest.php - Checks that the Revision tab is displayed correctly.
- NodeRevisionsUiTest::testNodeDuplicateRevisionsTab in core/
modules/ node/ tests/ src/ Functional/ NodeRevisionsUiTest.php - Checks the Revisions tab.
- NodeSyndicateBlockTest::testSyndicateBlock in core/
modules/ node/ tests/ src/ Functional/ NodeSyndicateBlockTest.php - Tests that the "Syndicate" block is shown when enabled.
- NodeTitleTest::setUp in core/
modules/ node/ tests/ src/ Functional/ NodeTitleTest.php - NodeTitleTestBase::setUp in core/
modules/ system/ tests/ src/ Functional/ Theme/ NodeTitleTestBase.php - NodeTranslationUITest::setUp in core/
modules/ node/ tests/ src/ Functional/ NodeTranslationUITest.php - NodeTypeTest::testNodeTypeDeletion in core/
modules/ node/ tests/ src/ Functional/ NodeTypeTest.php - Tests deleting a content type that still has content.
- NodeTypeTest::testNodeTypeEditing in core/
modules/ node/ tests/ src/ Functional/ NodeTypeTest.php - Tests editing a node type using the UI.
- NodeTypeTranslationTest::testNodeTypeTitleLabelTranslation in core/
modules/ node/ tests/ src/ Functional/ NodeTypeTranslationTest.php - Tests the node type title label translation.
- NonDefaultBlockAdminTest::setUp in core/
modules/ block/ tests/ src/ Functional/ NonDefaultBlockAdminTest.php - OverrideDisplaysTest::setUp in core/
modules/ views_ui/ tests/ src/ Functional/ OverrideDisplaysTest.php - Sets up the test.
- OverrideDisplaysTest::testOverrideDisplays in core/
modules/ views_ui/ tests/ src/ Functional/ OverrideDisplaysTest.php - Tests that displays can be overridden via the UI.
- OverrideDisplaysTest::testWizardMixedDefaultOverriddenDisplays in core/
modules/ views_ui/ tests/ src/ Functional/ OverrideDisplaysTest.php - Tests that the wizard correctly sets up default and overridden displays.
- PageCacheTagsIntegrationTest::testPageCacheTags in core/
modules/ page_cache/ tests/ src/ Functional/ PageCacheTagsIntegrationTest.php - Tests that cache tags are properly bubbled up to the page level.
- PageEditTest::setUp in core/
modules/ block_content/ tests/ src/ Functional/ PageEditTest.php - Sets the test up.
- PageTitleTest::setUp in core/
modules/ system/ tests/ src/ Functional/ System/ PageTitleTest.php - Implement setUp().
- PageTitleTest::testTitleXSS in core/
modules/ system/ tests/ src/ Functional/ System/ PageTitleTest.php - Tests if the title of the site is XSS proof.
- RedirectTest::testRedirectFromErrorPages in core/
modules/ system/ tests/ src/ Functional/ Form/ RedirectTest.php - Tests form redirection from 404/403 pages with the Block form.
- ResponsiveImageFieldUiTest::setUp in core/
modules/ responsive_image/ tests/ src/ FunctionalJavascript/ ResponsiveImageFieldUiTest.php - RevisionDeleteFormTest::setUp in core/
tests/ Drupal/ FunctionalTests/ Entity/ RevisionDeleteFormTest.php - RevisionRevertFormTest::setUp in core/
tests/ Drupal/ FunctionalTests/ Entity/ RevisionRevertFormTest.php - RevisionRouteProviderTest::setUp in core/
tests/ Drupal/ FunctionalTests/ Entity/ RevisionRouteProviderTest.php - RevisionViewTest::setUp in core/
tests/ Drupal/ FunctionalTests/ Entity/ RevisionViewTest.php - RouteCachingLanguageTest::setUp in core/
tests/ Drupal/ FunctionalTests/ Routing/ RouteCachingLanguageTest.php - RouteCachingNonPathLanguageNegotiationTest::setUp in core/
tests/ Drupal/ FunctionalTests/ Routing/ RouteCachingNonPathLanguageNegotiationTest.php - SearchBlockTest::testSearchFormBlock in core/
modules/ search/ tests/ src/ Functional/ SearchBlockTest.php - Tests that the search form block can be placed and works.
- SearchConfigSettingsFormTest::setUp in core/
modules/ search/ tests/ src/ Functional/ SearchConfigSettingsFormTest.php - SearchPageTextTest::setUp in core/
modules/ search/ tests/ src/ Functional/ SearchPageTextTest.php - SessionTest::setUp in core/
tests/ Drupal/ FunctionalJavascriptTests/ Core/ Session/ SessionTest.php - SettingsTest::setUp in core/
modules/ views_ui/ tests/ src/ Functional/ SettingsTest.php - Sets up the test.
- 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.
- ShortcutLinksTest::setUp in core/
modules/ shortcut/ tests/ src/ Functional/ ShortcutLinksTest.php - ShortcutLinksTest::testShortcutBlockAccess in core/
modules/ shortcut/ tests/ src/ Functional/ ShortcutLinksTest.php - Tests the 'access shortcuts' permission with the shortcut block.
- ShortcutSetsTest::setUp in core/
modules/ shortcut/ tests/ src/ Functional/ ShortcutSetsTest.php - SortingTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Wizard/ SortingTest.php - Sets up the test.
- StandardPerformanceTest::testLoginBlock in core/
profiles/ standard/ tests/ src/ FunctionalJavascript/ StandardPerformanceTest.php - Tests the performance of logging in via the user login block.
- StatisticsReportsTest::testPopularContentBlock in core/
modules/ statistics/ tests/ src/ Functional/ StatisticsReportsTest.php - Tests the "popular content" block.
- TaxonomyTestBase::setUp in core/
modules/ taxonomy/ tests/ src/ Functional/ TaxonomyTestBase.php - TermTest::setUp in core/
modules/ taxonomy/ tests/ src/ Functional/ TermTest.php - ThemeTest::setUp in core/
modules/ system/ tests/ src/ Functional/ System/ ThemeTest.php - ThemeTest::testRegionClass in core/
modules/ system/ tests/ src/ Functional/ Theme/ ThemeTest.php - Tests that region attributes can be manipulated via preprocess functions.
- ThemeTest::testSwitchDefaultTheme in core/
modules/ system/ tests/ src/ Functional/ System/ ThemeTest.php - Tests switching the default theme.
- ThemeTest::testThemeSettings in core/
modules/ system/ tests/ src/ Functional/ System/ ThemeTest.php - Tests the theme settings form.
- TourTest::setUp in core/
modules/ tour/ tests/ src/ Functional/ TourTest.php - TrackerRecentContentLinkTest::testRecentContentLink in core/
modules/ tracker/ tests/ src/ Functional/ TrackerRecentContentLinkTest.php - Tests the recent content link in menu block.
- TrackerTest::setUp in core/
modules/ tracker/ tests/ src/ Functional/ TrackerTest.php - TranslatedViewTest::setUp in core/
modules/ views_ui/ tests/ src/ Functional/ TranslatedViewTest.php - Sets up the test.
- TrustedHostsTest::testShortcut in core/
modules/ system/ tests/ src/ Functional/ System/ TrustedHostsTest.php - Tests that shortcut module works together with host verification.
- UnpublishedBlockTest::testViewShowsCorrectStates in core/
modules/ block_content/ tests/ src/ Functional/ UnpublishedBlockTest.php - Tests unpublishing of block_content entities.
- UpdateMiscTest::setUp in core/
modules/ update/ tests/ src/ Functional/ UpdateMiscTest.php - UpdateSemverTestBase::setUp in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverTestBase.php - UserAccountLinksTest::setUp in core/
modules/ user/ tests/ src/ Functional/ UserAccountLinksTest.php - UserBlocksTest::setUp in core/
modules/ user/ tests/ src/ Functional/ UserBlocksTest.php - UserPasswordResetTest::setUp in core/
modules/ user/ tests/ src/ Functional/ UserPasswordResetTest.php - UserRoleAdminTest::setUp in core/
modules/ user/ tests/ src/ Functional/ UserRoleAdminTest.php - ViewsListTest::setUp in core/
modules/ views_ui/ tests/ src/ Functional/ ViewsListTest.php - Sets up the test.
- ViewTranslationTest::setUp in core/
modules/ views/ tests/ src/ Functional/ ViewTranslationTest.php - Sets up the test.
- VocabularyPermissionsTest::setUp in core/
modules/ taxonomy/ tests/ src/ Functional/ VocabularyPermissionsTest.php - VocabularyUiTest::setUp in core/
modules/ taxonomy/ tests/ src/ Functional/ VocabularyUiTest.php - WizardTestBase::setUp in core/
modules/ views/ tests/ src/ Functional/ Wizard/ WizardTestBase.php - Sets up the test.
- WorkflowUiNoTypeTest::setUp in core/
modules/ workflows/ tests/ src/ Functional/ WorkflowUiNoTypeTest.php - WorkflowUiTest::setUp in core/
modules/ workflows/ tests/ src/ Functional/ WorkflowUiTest.php - WorkspaceMenuLinkContentIntegrationTest::setUp in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceMenuLinkContentIntegrationTest.php - WorkspaceTest::setUp in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceTest.php - WorkspaceTestUtilities::setupWorkspaceSwitcherBlock in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceTestUtilities.php - Adds the workspace switcher block to the site.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.