Search for _block

  1. Search 7.x for _block
  2. Search 8.9.x for _block
  3. Search 10.3.x for _block
  4. Search 11.x for _block
  5. Other projects
Title Object type File name Summary
BlockInterfaceTest::testBlockInterface function core/modules/block/tests/src/Kernel/BlockInterfaceTest.php Tests configuration and subsequent form() and build() method calls.
BlockInvalidRegionTest::testBlockInInvalidRegion function core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php Tests that blocks assigned to invalid regions work correctly.
BlockLanguageCacheTest::testBlockLinks function core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php Creates a block in a language, check blocks page in all languages.
BlockLanguageTest::testLanguageBlockVisibility function core/modules/block/tests/src/Functional/BlockLanguageTest.php Tests the visibility settings for the blocks based on language.
BlockLanguageTest::testLanguageBlockVisibilityLanguageDelete function core/modules/block/tests/src/Functional/BlockLanguageTest.php Tests if the visibility settings are removed if the language is deleted.
BlockLayoutTourTest::testBlockLayoutTourTips function core/modules/block/tests/src/Functional/BlockLayoutTourTest.php Tests Block Layout tour tip availability.
BlockLibraryController::$blockManager property core/modules/block/src/Controller/BlockLibraryController.php The block manager.
BlockLibraryController::listBlocks function core/modules/block/src/Controller/BlockLibraryController.php Shows a list of blocks that can be added to a theme's layout.
BlockListBuilder::buildBlocksForm function core/modules/block/src/BlockListBuilder.php Builds the main "Blocks" portion of the form.
BlockLocalTasksTest::providerTestBlockAdminDisplay function core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php Provides a list of routes to test.
BlockLocalTasksTest::testBlockAdminDisplay function core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php Tests the block admin display local tasks.
BlockLocalTasksTest::testBlockAdminLocalTasks function core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php Tests the admin edit local task.
BlockManagerTest::$blockManager property core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php The block manager under test.
BlockNodeTypeVisibilityUpdateTest::testBlock function core/modules/block/tests/src/Functional/Update/BlockNodeTypeVisibilityUpdateTest.php Tests that block context mapping is updated properly.
BlockPageVariant::$blockListCacheTags property core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php The Block entity type list cache tags.
BlockPageVariant::$blockRepository property core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php The block repository.
BlockPageVariant::$blockViewBuilder property core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php The block view builder.
BlockPageVariantTest::$blockRepository property core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php The block repository.
BlockPageVariantTest::$blockViewBuilder property core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php The block view builder.
BlockPluginCollection::$blockId property core/modules/block/src/BlockPluginCollection.php The block ID this plugin collection belongs to.
BlockPluginHasSettingsTrayFormAccessCheck::accessBlockPlugin function core/modules/settings_tray/src/Access/BlockPluginHasSettingsTrayFormAccessCheck.php Checks access for accessing a block plugin's 'settings_tray' form.
BlockPluginId::$blockContentStorage property core/modules/block/src/Plugin/migrate/process/BlockPluginId.php The block_content entity storage handler.
BlockPluginInterface::blockForm function core/lib/Drupal/Core/Block/BlockPluginInterface.php Returns the configuration form elements specific to this block plugin.
BlockPluginInterface::blockSubmit function core/lib/Drupal/Core/Block/BlockPluginInterface.php Adds block type-specific submission handling for the block form.
BlockPluginInterface::blockValidate function core/lib/Drupal/Core/Block/BlockPluginInterface.php Adds block type-specific validation for the block form.
BlockPluginInterface::BLOCK_LABEL_VISIBLE constant core/lib/Drupal/Core/Block/BlockPluginInterface.php Indicates the block label (title) should be displayed to end users.
BlockPluginTrait::blockAccess function core/lib/Drupal/Core/Block/BlockPluginTrait.php Indicates whether the block should be shown.
BlockPluginTrait::blockForm function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::blockSubmit function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::blockValidate function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockRebuildTest::testRebuildInvalidBlocks function core/modules/block/tests/src/Kernel/BlockRebuildTest.php @covers ::block_rebuild[[api-linebreak]]
BlockRebuildTest::testRebuildNoBlocks function core/modules/block/tests/src/Kernel/BlockRebuildTest.php @covers ::block_rebuild[[api-linebreak]]
BlockRebuildTest::testRebuildNoInvalidBlocks function core/modules/block/tests/src/Kernel/BlockRebuildTest.php @covers ::block_rebuild[[api-linebreak]]
BlockRenderOrderTest::testBlockRenderOrder function core/modules/block/tests/src/Functional/BlockRenderOrderTest.php Tests the render order of the blocks.
BlockRepository::$blockStorage property core/modules/block/src/BlockRepository.php The block storage.
BlockRepository::getVisibleBlocksPerRegion function core/modules/block/src/BlockRepository.php Returns an array of regions and their block entities.
BlockRepositoryInterface::getVisibleBlocksPerRegion function core/modules/block/src/BlockRepositoryInterface.php Returns an array of regions and their block entities.
BlockRepositoryTest::$blockRepository property core/modules/block/tests/src/Unit/BlockRepositoryTest.php
BlockRepositoryTest::$blockStorage property core/modules/block/tests/src/Unit/BlockRepositoryTest.php
BlockRepositoryTest::providerBlocksConfig function core/modules/block/tests/src/Unit/BlockRepositoryTest.php
BlockRepositoryTest::testGetVisibleBlocksPerRegion function core/modules/block/tests/src/Unit/BlockRepositoryTest.php Tests the retrieval of block entities.
BlockRepositoryTest::testGetVisibleBlocksPerRegionWithContext function core/modules/block/tests/src/Unit/BlockRepositoryTest.php Tests the retrieval of block entities that are context-aware.
BlockStorageUnitTest::testBlockCRUD function core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php Tests CRUD operations.
BlockStorageUnitTest::testDefaultBlocks function core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php Tests the installation of default blocks.
BlockTemplateSuggestionsTest::testBlockThemeHookSuggestions function core/modules/block/tests/src/Kernel/BlockTemplateSuggestionsTest.php Tests template suggestions from block_theme_suggestions_block().
BlockTest::$blockDisplay property core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php The tested block display plugin.
BlockTest::$blockPlugin property core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php The views block plugin.
BlockTest::moveBlockToRegion function core/modules/block/tests/src/Functional/BlockTest.php Moves a block to a given region via the UI and confirms the result.
BlockTest::testAddBlockFromLibraryWithWeight function core/modules/block/tests/src/Functional/BlockTest.php Tests adding a block from the library page with a weight query string.
BlockTest::testBlock function core/modules/block/tests/src/Functional/BlockTest.php Tests configuring and moving a module-define block to specific regions.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.