Search for _block

  1. Search 7.x for _block
  2. Search 9.5.x for _block
  3. Search 8.9.x for _block
  4. Search 10.3.x for _block
  5. Other projects
Title Object type File name Summary
BlockHooks::blockBuildLocalActionsBlockAlter function core/modules/block/src/Hook/BlockHooks.php Implements hook_block_build_BASE_BLOCK_ID_alter().
BlockHooks::preprocessBlock function core/modules/block/src/Hook/BlockHooks.php Prepares variables for block templates.
BlockInterface::createDuplicateBlock function core/modules/block/src/BlockInterface.php Creates a duplicate of the block entity.
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.
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.
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 \Drupal\block\Hook\BlockHooks::rebuild[[api-linebreak]]
BlockRebuildTest::testRebuildNoBlocks function core/modules/block/tests/src/Kernel/BlockRebuildTest.php @covers \Drupal\block\Hook\BlockHooks::rebuild[[api-linebreak]]
BlockRebuildTest::testRebuildNoInvalidBlocks function core/modules/block/tests/src/Kernel/BlockRebuildTest.php @covers \Drupal\block\Hook\BlockHooks::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 The block repository.
BlockRepositoryTest::$blockStorage property core/modules/block/tests/src/Unit/BlockRepositoryTest.php The block storage or a mock.
BlockRepositoryTest::providerBlocksConfig function core/modules/block/tests/src/Unit/BlockRepositoryTest.php Provides data to testGetVisibleBlocksPerRegion().
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.
BlockSettings::$blockManager property core/modules/block/src/Plugin/migrate/process/BlockSettings.php The block manager service.
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::$blockContent property core/modules/block_content/tests/src/Kernel/BlockTemplateSuggestionsTest.php The BlockContent entity used for testing.
BlockTemplateSuggestionsTest::testBlockThemeHookSuggestions function core/modules/block_content/tests/src/Kernel/BlockTemplateSuggestionsTest.php Tests template suggestions from block_content_theme_suggestions_block().
BlockTemplateSuggestionsTest::testBlockThemeHookSuggestions function core/modules/block/tests/src/Kernel/BlockTemplateSuggestionsTest.php Tests template suggestions from the block module.
BlockTest::$blockDisplay property core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php The tested block display plugin.

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