Search for _block

  1. Search 7.x for _block
  2. Search 9.5.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
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 Test configuring and moving a module-define block to specific regions.
BlockTest::testBlockAccess function core/modules/block/tests/src/Functional/BlockTest.php Tests the block access.
BlockTest::testBlockCacheTags function core/modules/block/tests/src/Functional/BlockTest.php Test that cache tags are properly set and bubbled up to the page cache.
BlockTest::testBlockThemeSelector function core/modules/block/tests/src/Functional/BlockTest.php Tests that the block form has a theme selector when not passed via the URL.
BlockTest::testBlockToggleVisibility function core/modules/block/tests/src/Functional/BlockTest.php Tests that visibility can be properly toggled.
BlockTest::testBlockUserRoleDelete function core/modules/block/tests/src/Functional/BlockTest.php Tests block_user_role_delete.
BlockTest::testBlockVisibility function core/modules/block/tests/src/Functional/BlockTest.php Tests block visibility.
BlockTest::testBlockVisibilityListedEmpty function core/modules/block/tests/src/Functional/BlockTest.php Test block visibility when leaving "pages" textarea empty.
BlockTest::testHideBlockTitle function core/modules/block/tests/src/Functional/BlockTest.php Test block title display settings.
BlockUiTest::$blocks property core/modules/block/tests/src/Functional/BlockUiTest.php The block entities used by this test.
BlockUiTest::$blockValues property core/modules/block/tests/src/Functional/BlockUiTest.php The submitted block values used by this test.
BlockUiTest::testBlockAdminUiPage function core/modules/block/tests/src/Functional/BlockUiTest.php Test block admin page exists and functions correctly.
BlockUiTest::testBlockDemoUiPage function core/modules/block/tests/src/Functional/BlockUiTest.php Test block demo page exists and functions correctly.
BlockUiTest::testBlockPlacementIndicator function core/modules/block/tests/src/Functional/BlockUiTest.php Tests the block placement indicator.
BlockUiTest::testBlockValidateErrors function core/modules/block/tests/src/Functional/BlockUiTest.php Tests if validation errors are passed plugin form to the parent form.
BlockUiTest::testCandidateBlockList function core/modules/block/tests/src/Functional/BlockUiTest.php Tests the block categories on the listing page.
BlockUiTest::testContextAwareBlocks function core/modules/block/tests/src/Functional/BlockUiTest.php Tests the behavior of context-aware blocks.
BlockUiTest::testContextAwareUnsatisfiedBlocks function core/modules/block/tests/src/Functional/BlockUiTest.php Tests the behavior of unsatisfied context-aware blocks.
BlockViewBuilder::buildPreRenderableBlock function core/modules/block/src/BlockViewBuilder.php Builds a #pre_render-able block render array.
BlockViewBuilderTest::$block property core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php The block being tested.
BlockViewBuilderTest::assertBlockRenderedWithExpectedCacheability function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Asserts that a block is built/rendered/cached with expected cacheability.
BlockViewBuilderTest::getBlockRenderArray function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Get a fully built render array for a block.
BlockViewBuilderTest::testBlockViewBuilderBuildAlter function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Tests block build altering.
BlockViewBuilderTest::testBlockViewBuilderCache function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Tests block render cache handling.
BlockViewBuilderTest::testBlockViewBuilderViewAlter function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Tests block view altering.
BlockXssTest::doBlockContentTest function core/modules/block/tests/src/Functional/BlockXssTest.php Tests XSS coming from Block Content block info.

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