Search for on
Title | Object type | File name | Summary |
---|---|---|---|
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::defaultConfiguration | function | core/ |
|
BlockPluginTrait::getConfiguration | function | core/ |
|
BlockPluginTrait::getMachineNameSuggestion | function | core/ |
|
BlockPluginTrait::setConfiguration | function | core/ |
|
BlockPluginTrait::setConfigurationValue | 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/ |
|
BlockRegion | class | core/ |
#[MigrateProcess('block_region')] |
BlockRegion.php | file | core/ |
|
BlockRegion::$regions | property | core/ |
List of regions, keyed by theme. |
BlockRegion::create | function | core/ |
|
BlockRegion::transform | function | core/ |
|
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. |
BlockRepository::$contextHandler | property | core/ |
The context handler. |
BlockRepository::getVisibleBlocksPerRegion | function | core/ |
|
BlockRepository::__construct | function | core/ |
Constructs a new BlockRepository. |
BlockRepositoryInterface::getVisibleBlocksPerRegion | function | core/ |
Returns an array of regions and their block entities. |
BlockRepositoryInterface::REGIONS_ALL | constant | core/ |
Return all regions. |
BlockRepositoryInterface::REGIONS_VISIBLE | constant | core/ |
Return only visible regions. |
BlockRepositoryTest::$contextHandler | property | core/ |
|
BlockRepositoryTest::providerBlocksConfig | function | core/ |
|
BlockRepositoryTest::testGetVisibleBlocksPerRegion | function | core/ |
Tests the retrieval of block entities. |
BlockRepositoryTest::testGetVisibleBlocksPerRegionWithContext | function | core/ |
Tests the retrieval of block entities that are context-aware. |
BlockResourceTestBase::getExpectedCacheContexts | function | core/ |
|
BlockResourceTestBase::setUpAuthorization | function | core/ |
|
BlockStorageUnitTest::$controller | property | core/ |
The block storage. |
BlockTemplateSuggestionsTest | class | core/ |
Tests the block_theme_suggestions_block() function. |
BlockTemplateSuggestionsTest | class | core/ |
Tests the block_content_theme_suggestions_block() function. |
BlockTemplateSuggestionsTest.php | file | core/ |
|
BlockTemplateSuggestionsTest.php | file | core/ |
|
BlockTemplateSuggestionsTest::$blockContent | property | core/ |
The BlockContent entity used for testing. |
BlockTemplateSuggestionsTest::$modules | property | core/ |
|
BlockTemplateSuggestionsTest::$modules | property | core/ |
|
BlockTemplateSuggestionsTest::setUp | function | core/ |
|
BlockTemplateSuggestionsTest::testBlockThemeHookSuggestions | function | core/ |
Tests template suggestions from block_content_theme_suggestions_block(). |
BlockTemplateSuggestionsTest::testBlockThemeHookSuggestions | function | core/ |
Tests template suggestions from block_theme_suggestions_block(). |
BlockTest::getExpectedCacheContexts | function | core/ |
|
BlockTest::getExpectedCollectionCacheability | function | core/ |
Pagination
- Previous page
- Page 49
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.