94 string references to 'Block'
- 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.
- BigPipeInterfacePreviewThemeSuggestionsTest::setUp in core/
modules/ big_pipe/ tests/ src/ Kernel/ BigPipeInterfacePreviewThemeSuggestionsTest.php - big_pipe_theme_suggestions_big_pipe_interface_preview in core/
modules/ big_pipe/ big_pipe.module - Implements hook_theme_suggestions_HOOK().
- block.info.yml in core/
modules/ block/ block.info.yml - core/modules/block/block.info.yml
- block.links.contextual.yml in core/
modules/ block/ block.links.contextual.yml - core/modules/block/block.links.contextual.yml
- block.migrate_drupal.yml in core/
modules/ block/ migrations/ state/ block.migrate_drupal.yml - core/modules/block/migrations/state/block.migrate_drupal.yml
- block.schema.yml in core/
modules/ block/ config/ schema/ block.schema.yml - core/modules/block/config/schema/block.schema.yml
- Block::query in core/
modules/ block/ src/ Plugin/ migrate/ source/ Block.php - BlockConfigEntityUnitTest::setUp in core/
modules/ block/ tests/ src/ Unit/ BlockConfigEntityUnitTest.php - BlockForm::__construct in core/
modules/ block/ src/ BlockForm.php - Constructs a BlockForm object.
- BlockInstallTest::testCacheTagInvalidationUponInstallation in core/
modules/ block/ tests/ src/ Functional/ BlockInstallTest.php - 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.
- BlockListBuilder::buildBlocksForm in core/
modules/ block/ src/ BlockListBuilder.php - Builds the main "Blocks" portion of the form.
- BlockManager::getType in core/
lib/ Drupal/ Core/ Block/ BlockManager.php - A string identifying the plugin type.
- BlockManagerTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Block/ BlockManagerTest.php - BlockPageVariant::create in core/
modules/ block/ src/ Plugin/ DisplayVariant/ BlockPageVariant.php - Creates an instance of the plugin.
- BlockPluginId::transform in core/
modules/ block/ src/ Plugin/ migrate/ process/ BlockPluginId.php - Set the block plugin id.
- BlockRenderOrderTest::testBlockRenderOrder in core/
modules/ block/ tests/ src/ Functional/ BlockRenderOrderTest.php - Tests the render order of the blocks.
- BlockRepository::__construct in core/
modules/ block/ src/ BlockRepository.php - Constructs a new BlockRepository.
- BlockStorageUnitTest::setUp in core/
modules/ block/ tests/ src/ Kernel/ BlockStorageUnitTest.php - BlockTest::providerSource in core/
modules/ block/ tests/ src/ Kernel/ Plugin/ migrate/ source/ BlockTest.php - 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.
- BlockTestBase::setUp in core/
modules/ block/ tests/ src/ Functional/ BlockTestBase.php - BlockTranslationTest::providerSource in core/
modules/ block/ tests/ src/ Kernel/ Plugin/ migrate/ source/ d7/ BlockTranslationTest.php - BlockTranslationTest::providerSource in core/
modules/ block/ tests/ src/ Kernel/ Plugin/ migrate/ source/ d6/ BlockTranslationTest.php - BlockUiTest::testBlockDemoUiPage in core/
modules/ block/ tests/ src/ Functional/ BlockUiTest.php - Tests block demo page exists and functions correctly.
- BlockViewBuilder::viewMultiple in core/
modules/ block/ src/ BlockViewBuilder.php - Builds the render array for the provided entities.
- BlockViewBuilderTest::getBlockRenderArray in core/
modules/ block/ tests/ src/ Kernel/ BlockViewBuilderTest.php - Get a fully built render array for a block.
- BlockViewBuilderTest::setUp in core/
modules/ block/ tests/ src/ Kernel/ BlockViewBuilderTest.php - BlockViewBuilderTest::testBasicRendering in core/
modules/ block/ tests/ src/ Kernel/ BlockViewBuilderTest.php - Tests the rendering of blocks.
- BlockViewBuilderTest::testBlockViewBuilderBuildAlter in core/
modules/ block/ tests/ src/ Kernel/ BlockViewBuilderTest.php - Tests block build altering.
- BlockViewBuilderTest::verifyRenderCacheHandling in core/
modules/ block/ tests/ src/ Kernel/ BlockViewBuilderTest.php - Verifies render cache handling of the block being tested.
- BlockXssTest::doViewTest in core/
modules/ block/ tests/ src/ Functional/ BlockXssTest.php - Tests XSS coming from View block labels.
- block_theme_suggestions_block in core/
modules/ block/ block.module - Implements hook_theme_suggestions_HOOK().
- ClaroTest::testConfigSchema in core/
tests/ Drupal/ FunctionalTests/ Theme/ ClaroTest.php - Tests Claro's configuration schema.
- ConfigEntityDependencyTest::testWithDependencies in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityDependencyTest.php - ConfigEntityImportTest::testConfigUpdateImport in core/
modules/ system/ tests/ src/ Kernel/ Entity/ ConfigEntityImportTest.php - Runs test methods for each module within a single test run.
- ConfigImporterMissingContentTest::testMissingBlockContent in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigImporterMissingContentTest.php - Tests the missing content, config import and the block plugin manager.
- d6_block.yml in core/
modules/ block/ migrations/ d6_block.yml - core/modules/block/migrations/d6_block.yml
- d7_block.yml in core/
modules/ block/ migrations/ d7_block.yml - core/modules/block/migrations/d7_block.yml
- DisplayBlockTest::testDeleteBlockDisplay in core/
modules/ block/ tests/ src/ Functional/ Views/ DisplayBlockTest.php - Tests removing a block display.
- DisplayBlockTest::testViewsBlockForm in core/
modules/ block/ tests/ src/ Functional/ Views/ DisplayBlockTest.php - Tests the block form for a Views block.
- DisplayCRUDTest::testDuplicateDisplay in core/
modules/ views_ui/ tests/ src/ Functional/ DisplayCRUDTest.php - Tests the duplicating of a display.
- DisplayCRUDTest::testDuplicateDisplay in core/
modules/ views_ui/ tests/ src/ Functional/ DisplayCRUDTest.php - Tests the duplicating of a display.
- DisplayTest::testAddDisplay in core/
modules/ views_ui/ tests/ src/ FunctionalJavascript/ DisplayTest.php - Tests adding a display.
- DisplayTest::testAddDisplayBlockTranslation in core/
modules/ views_ui/ tests/ src/ FunctionalJavascript/ DisplayTest.php - Test if 'add' translations are filtered from multilingual display options.
- EntityCacheTagsTestBase::testReferencedEntity in core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityCacheTagsTestBase.php - Tests cache tags presence and invalidation of the entity when referenced.
- entity_test_entity_operation_alter in core/
modules/ system/ tests/ modules/ entity_test/ entity_test.module - Implements hook_entity_operation_alter().
- InstallerDependenciesResolutionTest::testDependenciesResolution in core/
modules/ system/ tests/ src/ Kernel/ Installer/ InstallerDependenciesResolutionTest.php - Verifies that the exception message in the profile step is correct.
- MainContentFallbackTest::testMainContentFallback in core/
modules/ system/ tests/ src/ Functional/ System/ MainContentFallbackTest.php - Tests availability of main content: Drupal falls back to SimplePageVariant.
- MappingTest::testMappingInterpretation in core/
tests/ Drupal/ KernelTests/ Config/ Schema/ MappingTest.php - @dataProvider providerMappingInterpretation
- MigrateBlockContentTranslationTest::setUp in core/
modules/ block/ tests/ src/ Kernel/ Migrate/ d7/ MigrateBlockContentTranslationTest.php - MigrateBlockContentTranslationTest::setUp in core/
modules/ block/ tests/ src/ Kernel/ Migrate/ d6/ MigrateBlockContentTranslationTest.php - MigrateBlockTest::testBlockMigration in core/
modules/ block/ tests/ src/ Kernel/ Migrate/ d6/ MigrateBlockTest.php - Tests the block migration.
- MigrateUserRoleTest::providerTestUserRole in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUserRoleTest.php - Data provider for user role migration tests.
- MultilingualReviewPageTest::getMissingPaths in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d6/ MultilingualReviewPageTest.php - Gets the missing upgrade paths.
- MultilingualReviewPageTest::getMissingPaths in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d7/ MultilingualReviewPageTest.php - Gets the missing upgrade paths.
- navigation_theme in core/
modules/ navigation/ navigation.module - Implements hook_theme().
- 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().
- NoMultilingualReviewPageTest::getAvailablePaths in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d7/ NoMultilingualReviewPageTest.php - Gets the available upgrade paths.
- NoMultilingualReviewPageTest::getMissingPaths in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d6/ NoMultilingualReviewPageTest.php - Gets the missing upgrade paths.
- recipe.yml in core/
recipes/ core_recommended_front_end_theme/ recipe.yml - core/recipes/core_recommended_front_end_theme/recipe.yml
- recipe.yml in core/
recipes/ core_recommended_admin_theme/ recipe.yml - core/recipes/core_recommended_admin_theme/recipe.yml
- system_help in core/
modules/ system/ system.module - Implements hook_help().
- system_theme in core/
modules/ system/ system.module - Implements hook_theme().
- ThemeTest::testRegionClass in core/
modules/ system/ tests/ src/ Functional/ Theme/ ThemeTest.php - Tests that region attributes can be manipulated via preprocess functions.
- TrustedHostsTest::testShortcut in core/
modules/ system/ tests/ src/ Functional/ System/ TrustedHostsTest.php - Tests that shortcut module works together with host verification.
- UpdatePathTestBaseFilledTest::testUpdatedSite in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdatePathTestBaseFilledTest.php - Tests that the content and configuration were properly updated.
- Upgrade6Test::getAvailablePaths in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d6/ Upgrade6Test.php - Gets the available upgrade paths.
- Upgrade7Test::getAvailablePaths in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d7/ Upgrade7Test.php - Gets the available upgrade paths.
- UserPermissionsTest::testAdministratorRole in core/
modules/ user/ tests/ src/ Functional/ UserPermissionsTest.php - Tests assigning of permissions for the administrator role.
- ValidKeysConstraintValidatorTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ TypedData/ ValidKeysConstraintValidatorTest.php - views.view.comments_recent.yml in core/
modules/ comment/ config/ optional/ views.view.comments_recent.yml - core/modules/comment/config/optional/views.view.comments_recent.yml
- views.view.comments_recent.yml in core/
modules/ comment/ config/ optional/ views.view.comments_recent.yml - core/modules/comment/config/optional/views.view.comments_recent.yml
- views.view.contextual_recent.yml in core/
modules/ contextual/ tests/ modules/ contextual_test/ config/ optional/ views.view.contextual_recent.yml - core/modules/contextual/tests/modules/contextual_test/config/optional/views.view.contextual_recent.yml
- views.view.contextual_recent.yml in core/
modules/ contextual/ tests/ modules/ contextual_test/ config/ optional/ views.view.contextual_recent.yml - core/modules/contextual/tests/modules/contextual_test/config/optional/views.view.contextual_recent.yml
- views.view.related_recipes.yml in core/
profiles/ demo_umami/ config/ install/ views.view.related_recipes.yml - core/profiles/demo_umami/config/install/views.view.related_recipes.yml
- views.view.related_recipes.yml in core/
profiles/ demo_umami/ config/ install/ views.view.related_recipes.yml - core/profiles/demo_umami/config/install/views.view.related_recipes.yml
- views.view.test_argument_default_node_with_page.yml in core/
modules/ views/ tests/ modules/ views_test_config/ test_views/ views.view.test_argument_default_node_with_page.yml - core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_default_node_with_page.yml
- views.view.test_argument_default_node_with_page.yml in core/
modules/ views/ tests/ modules/ views_test_config/ test_views/ views.view.test_argument_default_node_with_page.yml - core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_default_node_with_page.yml
- views.view.test_entity_reference_group_by_empty_relationships.yml in core/
modules/ system/ tests/ modules/ entity_reference_test_views/ test_views/ views.view.test_entity_reference_group_by_empty_relationships.yml - core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_group_by_empty_relationships.yml
- views.view.test_view_block.yml in core/
modules/ block/ tests/ modules/ block_test_views/ test_views/ views.view.test_view_block.yml - core/modules/block/tests/modules/block_test_views/test_views/views.view.test_view_block.yml
- views.view.test_view_block.yml in core/
modules/ block/ tests/ modules/ block_test_views/ test_views/ views.view.test_view_block.yml - core/modules/block/tests/modules/block_test_views/test_views/views.view.test_view_block.yml
- views.view.test_view_block2.yml in core/
modules/ block/ tests/ modules/ block_test_views/ test_views/ views.view.test_view_block2.yml - core/modules/block/tests/modules/block_test_views/test_views/views.view.test_view_block2.yml
- views.view.test_view_block2.yml in core/
modules/ block/ tests/ modules/ block_test_views/ test_views/ views.view.test_view_block2.yml - core/modules/block/tests/modules/block_test_views/test_views/views.view.test_view_block2.yml
- views.view.test_view_block_with_context.yml in core/
modules/ block/ tests/ modules/ block_test_views/ test_views/ views.view.test_view_block_with_context.yml - core/modules/block/tests/modules/block_test_views/test_views/views.view.test_view_block_with_context.yml
- views.view.test_view_block_with_context.yml in core/
modules/ block/ tests/ modules/ block_test_views/ test_views/ views.view.test_view_block_with_context.yml - core/modules/block/tests/modules/block_test_views/test_views/views.view.test_view_block_with_context.yml
- views.view.who_s_new.yml in core/
modules/ user/ config/ optional/ views.view.who_s_new.yml - core/modules/user/config/optional/views.view.who_s_new.yml
- views.view.who_s_online.yml in core/
modules/ user/ config/ optional/ views.view.who_s_online.yml - core/modules/user/config/optional/views.view.who_s_online.yml
- WhoIsOnlineBlockTest::setUp in core/
modules/ user/ tests/ src/ Kernel/ WhoIsOnlineBlockTest.php - WhoIsOnlineBlockTest::testWhoIsOnlineBlock in core/
modules/ user/ tests/ src/ Kernel/ WhoIsOnlineBlockTest.php - Tests the Who's Online block.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.