Search for all
Title | Object type | File name | Summary |
---|---|---|---|
BlockPluginInterface::label | function | core/ |
Returns the user-facing block label. |
BlockPluginInterface::setConfigurationValue | function | core/ |
Sets a particular value in the block settings. |
BlockPluginTrait | trait | core/ |
Provides the base implementation of a block plugin. |
BlockPluginTrait.php | file | core/ |
|
BlockPluginTrait::$inPreview | property | core/ |
Whether the plugin is being rendered in preview mode. |
BlockPluginTrait::$transliteration | property | core/ |
The transliteration service. |
BlockPluginTrait::access | function | core/ |
|
BlockPluginTrait::baseConfigurationDefaults | function | core/ |
Returns generic default configuration for block plugins. |
BlockPluginTrait::blockAccess | function | core/ |
Indicates whether the block should be shown. |
BlockPluginTrait::blockForm | function | core/ |
|
BlockPluginTrait::blockSubmit | function | core/ |
|
BlockPluginTrait::blockValidate | function | core/ |
|
BlockPluginTrait::buildConfigurationForm | function | core/ |
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/ |
|
BlockPluginTrait::defaultConfiguration | function | core/ |
|
BlockPluginTrait::getConfiguration | function | core/ |
|
BlockPluginTrait::getMachineNameSuggestion | function | core/ |
|
BlockPluginTrait::getPreviewFallbackString | function | core/ |
|
BlockPluginTrait::label | function | core/ |
|
BlockPluginTrait::setConfiguration | function | core/ |
|
BlockPluginTrait::setConfigurationValue | function | core/ |
|
BlockPluginTrait::setInPreview | function | core/ |
|
BlockPluginTrait::setTransliteration | function | core/ |
Sets the transliteration service. |
BlockPluginTrait::submitConfigurationForm | function | core/ |
Most block plugins should not override this method. To add submission handling for a specific block type, override BlockBase::blockSubmit(). |
BlockPluginTrait::transliteration | function | core/ |
Wraps the transliteration service. |
BlockPluginTrait::validateConfigurationForm | function | core/ |
Most block plugins should not override this method. To add validation for a specific block type, override BlockBase::blockValidate(). |
BlockPluginTrait::__construct | function | core/ |
|
blockquote.admin.css | file | core/ |
.ckeditor5-toolbar-button-blockQuote { background-image: url(../icons/blockquote.svg); } |
BlockRebuildTest | class | core/ |
Tests block_rebuild(). |
BlockRebuildTest.php | file | core/ |
|
BlockRebuildTest::$modules | property | core/ |
Modules to install. |
BlockRebuildTest::setUp | function | core/ |
|
BlockRebuildTest::setUpBeforeClass | function | core/ |
|
BlockRebuildTest::testRebuildInvalidBlocks | function | core/ |
@covers ::block_rebuild[[api-linebreak]] |
BlockRebuildTest::testRebuildNoBlocks | function | core/ |
@covers ::block_rebuild[[api-linebreak]] |
BlockRebuildTest::testRebuildNoInvalidBlocks | function | core/ |
@covers ::block_rebuild[[api-linebreak]] |
BlockRegion | class | core/ |
#[MigrateProcess('block_region')] |
BlockRegion.php | file | core/ |
|
BlockRegion::$regions | property | core/ |
List of regions, keyed by theme. |
BlockRegion::create | function | core/ |
Creates an instance of the plugin. |
BlockRegion::transform | function | core/ |
Performs the associated process. |
BlockRegion::__construct | function | core/ |
Constructs a BlockRegion plugin instance. |
BlockRegionTest | class | core/ |
@coversDefaultClass \Drupal\block\Plugin\migrate\process\BlockRegion[[api-linebreak]] @group block |
BlockRegionTest.php | file | core/ |
|
BlockRegionTest::testTransformSameThemeRegionExists | function | core/ |
Tests transforming a block with the same theme and an existing region. |
BlockRegionTest::testTransformSameThemeRegionNotExists | function | core/ |
Tests transforming a block with the same theme and a non-existent region. |
BlockRegionTest::transform | function | core/ |
Transforms a value through the block_region plugin. |
BlockRenderAlterContent | class | core/ |
Implements a trusted preRender callback. |
BlockRenderAlterContent.php | file | core/ |
|
BlockRenderAlterContent::preRender | function | core/ |
#pre_render callback for a block to alter its content. |
Pagination
- Previous page
- Page 109
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.