Search for on

  1. Search 7.x for on
  2. Search 9.5.x for on
  3. Search 8.9.x for on
  4. Search 10.3.x for on
  5. Other projects
Title Object type File name Summary
BlockPluginTrait::validateConfigurationForm function core/lib/Drupal/Core/Block/BlockPluginTrait.php Most block plugins should not override this method. To add validation
for a specific block type, override BlockBase::blockValidate().
BlockPluginTrait::__construct function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockRebuildTest::$configSchemaCheckerExclusions property core/modules/block/tests/src/Kernel/BlockRebuildTest.php An array of config object names that are excluded from schema checking.
BlockRegion class core/modules/block/src/Plugin/migrate/process/BlockRegion.php Determines the region for a block.
BlockRegion.php file core/modules/block/src/Plugin/migrate/process/BlockRegion.php
BlockRegion::$regions property core/modules/block/src/Plugin/migrate/process/BlockRegion.php List of regions, keyed by theme.
BlockRegion::create function core/modules/block/src/Plugin/migrate/process/BlockRegion.php Creates an instance of the plugin.
BlockRegion::transform function core/modules/block/src/Plugin/migrate/process/BlockRegion.php Performs the associated process.
BlockRegion::__construct function core/modules/block/src/Plugin/migrate/process/BlockRegion.php Constructs a BlockRegion plugin instance.
BlockRegionTest class core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php @coversDefaultClass \Drupal\block\Plugin\migrate\process\BlockRegion[[api-linebreak]]
@group block
BlockRegionTest.php file core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php
BlockRegionTest::testTransformSameThemeRegionExists function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php Tests transforming a block with the same theme and an existing region.
BlockRegionTest::testTransformSameThemeRegionNotExists function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php Tests transforming a block with the same theme and a non-existent region.
BlockRegionTest::transform function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php Transforms a value through the block_region plugin.
BlockRenderAlterContent class core/modules/block/tests/modules/block_test/src/BlockRenderAlterContent.php Implements a trusted preRender callback.
BlockRenderAlterContent.php file core/modules/block/tests/modules/block_test/src/BlockRenderAlterContent.php
BlockRenderAlterContent::preRender function core/modules/block/tests/modules/block_test/src/BlockRenderAlterContent.php Render API callback: Alters the content of a block.
BlockRepository::$contextHandler property core/modules/block/src/BlockRepository.php The context handler.
BlockRepository::getVisibleBlocksPerRegion function core/modules/block/src/BlockRepository.php Returns an array of regions and their block entities.
BlockRepository::__construct function core/modules/block/src/BlockRepository.php Constructs a new BlockRepository.
BlockRepositoryInterface::getVisibleBlocksPerRegion function core/modules/block/src/BlockRepositoryInterface.php Returns an array of regions and their block entities.
BlockRepositoryInterface::REGIONS_ALL constant core/modules/block/src/BlockRepositoryInterface.php Return all regions.
BlockRepositoryInterface::REGIONS_VISIBLE constant core/modules/block/src/BlockRepositoryInterface.php Return only visible regions.
BlockRepositoryTest::$contextHandler property core/modules/block/tests/src/Unit/BlockRepositoryTest.php The context handler of 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.
BlockResourceTestBase::getExpectedCacheContexts function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
BlockResourceTestBase::setUpAuthorization function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php Sets up the necessary authorization.
BlockSettings::__construct function core/modules/block/src/Plugin/migrate/process/BlockSettings.php Constructs a \Drupal\Component\Plugin\PluginBase object.
BlockStorageUnitTest::$controller property core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php The block storage.
BlockTemplateSuggestionsTest class core/modules/block/tests/src/Kernel/BlockTemplateSuggestionsTest.php Tests the block theme suggestions.
BlockTemplateSuggestionsTest class core/modules/block_content/tests/src/Kernel/BlockTemplateSuggestionsTest.php Tests the block_content_theme_suggestions_block() function.
BlockTemplateSuggestionsTest.php file core/modules/block_content/tests/src/Kernel/BlockTemplateSuggestionsTest.php
BlockTemplateSuggestionsTest.php file core/modules/block/tests/src/Kernel/BlockTemplateSuggestionsTest.php
BlockTemplateSuggestionsTest::$blockContent property core/modules/block_content/tests/src/Kernel/BlockTemplateSuggestionsTest.php The BlockContent entity used for testing.
BlockTemplateSuggestionsTest::$modules property core/modules/block_content/tests/src/Kernel/BlockTemplateSuggestionsTest.php Modules to install.
BlockTemplateSuggestionsTest::$modules property core/modules/block/tests/src/Kernel/BlockTemplateSuggestionsTest.php Modules to install.
BlockTemplateSuggestionsTest::setUp function core/modules/block_content/tests/src/Kernel/BlockTemplateSuggestionsTest.php
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::getExpectedCacheContexts function core/modules/jsonapi/tests/src/Functional/BlockTest.php The expected cache contexts for the GET/HEAD response of the test entity.
BlockTest::getExpectedCollectionCacheability function core/modules/jsonapi/tests/src/Functional/BlockTest.php Computes the cacheability for a given entity collection.
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::setUpAuthorization function core/modules/jsonapi/tests/src/Functional/BlockTest.php Sets up the necessary authorization.
BlockTestBase::$regions property core/modules/block/tests/src/Functional/BlockTestBase.php A list of theme regions to test.
BlockTheme::$themeConfig property core/modules/block/src/Plugin/migrate/process/BlockTheme.php Contains the system.theme configuration object.
BlockTheme::__construct function core/modules/block/src/Plugin/migrate/process/BlockTheme.php Constructs a BlockTheme object.
BlockThemeHooks::themeSuggestionsBlock function core/modules/block/src/Hook/BlockThemeHooks.php Implements hook_theme_suggestions_HOOK().
BlockTranslation class core/modules/block/src/Plugin/migrate/source/d6/BlockTranslation.php Drupal 6 i18n block data from database.

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