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

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 6/7 block source from database.
Block class core/lib/Drupal/Core/Block/Attribute/Block.php The Block attribute.
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.php file core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::$inPreview property core/lib/Drupal/Core/Block/BlockPluginTrait.php Whether the plugin is being rendered in preview mode.
BlockPluginTrait::$transliteration property core/lib/Drupal/Core/Block/BlockPluginTrait.php The transliteration service.
BlockPluginTrait::access function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::baseConfigurationDefaults function core/lib/Drupal/Core/Block/BlockPluginTrait.php Returns generic default configuration for block plugins.
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
BlockPluginTrait::buildConfigurationForm function core/lib/Drupal/Core/Block/BlockPluginTrait.php Creates a generic configuration form for all block types. Individual
block plugins can add elements to this form by overriding
BlockBase::blockForm(). Most block plugins should not override this
method unless they need to alter the generic form elements.
BlockPluginTrait::calculateDependencies function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::defaultConfiguration function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::getConfiguration function core/lib/Drupal/Core/Block/BlockPluginTrait.php
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::setInPreview 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
blockquote.admin.css file core/modules/ckeditor5/css/blockquote.admin.css .ckeditor5-toolbar-button-blockQuote {
background-image: url(../icons/blockquote.svg);
}
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::$configSchemaCheckerExclusions property core/modules/block/tests/src/Kernel/BlockRebuildTest.php An array of config object names that are excluded from schema checking.
BlockRebuildTest::$modules property core/modules/block/tests/src/Kernel/BlockRebuildTest.php Modules to install.
BlockRebuildTest::setUp 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
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 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 #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.

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