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

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Block class core/modules/views/src/Plugin/views/display/Block.php The plugin that handles a block.
Block class core/modules/block/src/Entity/Block.php Defines a Block configuration entity class.
Block class core/modules/block/src/Plugin/migrate/source/Block.php Drupal block source from database.
Block class core/lib/Drupal/Core/Block/Annotation/Block.php Defines a Block annotation object.

All search results

Title Object type File name Summary
BlockPluginTrait::getMachineNameSuggestion function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::getPreviewFallbackString function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::label function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::setConfiguration function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::setConfigurationValue function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::setTransliteration function core/lib/Drupal/Core/Block/BlockPluginTrait.php Sets the transliteration service.
BlockPluginTrait::submitConfigurationForm function core/lib/Drupal/Core/Block/BlockPluginTrait.php Most block plugins should not override this method. To add submission
handling for a specific block type, override BlockBase::blockSubmit().
BlockPluginTrait::transliteration function core/lib/Drupal/Core/Block/BlockPluginTrait.php Wraps the transliteration service.
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 class core/modules/block/tests/src/Kernel/BlockRebuildTest.php Tests block_rebuild().
BlockRebuildTest.php file core/modules/block/tests/src/Kernel/BlockRebuildTest.php
BlockRebuildTest::$modules property core/modules/block/tests/src/Kernel/BlockRebuildTest.php Modules to enable.
BlockRebuildTest::setUp function core/modules/block/tests/src/Kernel/BlockRebuildTest.php
BlockRebuildTest::setUpBeforeClass function core/modules/block/tests/src/Kernel/BlockRebuildTest.php
BlockRebuildTest::testRebuildInvalidBlocks function core/modules/block/tests/src/Kernel/BlockRebuildTest.php @covers ::block_rebuild
BlockRebuildTest::testRebuildNoBlocks function core/modules/block/tests/src/Kernel/BlockRebuildTest.php @covers ::block_rebuild
BlockRebuildTest::testRebuildNoInvalidBlocks function core/modules/block/tests/src/Kernel/BlockRebuildTest.php @covers ::block_rebuild
BlockRegion class core/modules/block/src/Plugin/migrate/process/BlockRegion.php Plugin annotation

@MigrateProcessPlugin(
id = "block_region"
)
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
@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 If the source and destination themes are identical, the region should only
be passed through if it actually exists in the destination theme.
BlockRegionTest::testTransformSameThemeRegionNotExists function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php If the source and destination themes are identical, the region should be
changed to 'content' if it doesn't exist in the destination theme.
BlockRegionTest::transform function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php Transforms a value through the block_region plugin.
BlockRemoveDisabledRegionUpdateTest class core/modules/block/tests/src/Functional/Update/BlockRemoveDisabledRegionUpdateTest.php Tests the upgrade path for removal of disabled region.
BlockRemoveDisabledRegionUpdateTest.php file core/modules/block/tests/src/Functional/Update/BlockRemoveDisabledRegionUpdateTest.php
BlockRemoveDisabledRegionUpdateTest::$modules property core/modules/block/tests/src/Functional/Update/BlockRemoveDisabledRegionUpdateTest.php Modules to enable after the database is loaded.
BlockRemoveDisabledRegionUpdateTest::setDatabaseDumpFiles function core/modules/block/tests/src/Functional/Update/BlockRemoveDisabledRegionUpdateTest.php Set database dump files to be used.
BlockRemoveDisabledRegionUpdateTest::testUpdateHookN function core/modules/block/tests/src/Functional/Update/BlockRemoveDisabledRegionUpdateTest.php Tests that block context mapping is updated properly.
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 #pre_render callback for a block to alter its content.
BlockRenderOrderTest class core/modules/block/tests/src/Functional/BlockRenderOrderTest.php Tests blocks are being rendered in order by weight.
BlockRenderOrderTest.php file core/modules/block/tests/src/Functional/BlockRenderOrderTest.php
BlockRenderOrderTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockRenderOrderTest.php The theme to install as the default for testing.
BlockRenderOrderTest::$modules property core/modules/block/tests/src/Functional/BlockRenderOrderTest.php Modules to install.
BlockRenderOrderTest::setUp function core/modules/block/tests/src/Functional/BlockRenderOrderTest.php
BlockRenderOrderTest::testBlockRenderOrder function core/modules/block/tests/src/Functional/BlockRenderOrderTest.php Tests the render order of the blocks.
BlockRepository class core/modules/block/src/BlockRepository.php Provides a repository for Block config entities.
BlockRepository.php file core/modules/block/src/BlockRepository.php
BlockRepository::$blockStorage property core/modules/block/src/BlockRepository.php The block storage.
BlockRepository::$themeManager property core/modules/block/src/BlockRepository.php The theme manager.
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 interface core/modules/block/src/BlockRepositoryInterface.php

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