Search for block
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Block | class | core/ |
The plugin that handles a block. |
Block | class | core/ |
Defines a Block configuration entity class. |
Block | class | core/ |
Drupal 6/7 block source from database. |
Block | class | core/ |
The Block attribute. |
Block | class | core/ |
Defines a Block annotation object. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
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 @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. |
BlockRenderOrderTest | class | core/ |
Tests blocks are being rendered in order by weight. |
BlockRenderOrderTest.php | file | core/ |
|
BlockRenderOrderTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
BlockRenderOrderTest::$modules | property | core/ |
Modules to install. |
BlockRenderOrderTest::setUp | function | core/ |
|
BlockRenderOrderTest::testBlockRenderOrder | function | core/ |
Tests the render order of the blocks. |
BlockRepository | class | core/ |
Provides a repository for Block config entities. |
BlockRepository.php | file | core/ |
|
BlockRepository::$blockStorage | property | core/ |
The block storage. |
BlockRepository::$contextHandler | property | core/ |
The context handler. |
BlockRepository::$themeManager | property | core/ |
The theme manager. |
BlockRepository::getUniqueMachineName | function | core/ |
|
BlockRepository::getVisibleBlocksPerRegion | function | core/ |
|
BlockRepository::__construct | function | core/ |
Constructs a new BlockRepository. |
BlockRepositoryInterface | interface | core/ |
|
BlockRepositoryInterface.php | file | core/ |
|
BlockRepositoryInterface::getUniqueMachineName | function | core/ |
Based on a suggested string generates a unique machine name for a block. |
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 | class | core/ |
@coversDefaultClass \Drupal\block\BlockRepository @group block |
BlockRepositoryTest.php | file | core/ |
|
BlockRepositoryTest::$blockRepository | property | core/ |
|
BlockRepositoryTest::$blockStorage | property | core/ |
|
BlockRepositoryTest::$contextHandler | property | core/ |
|
BlockRepositoryTest::$theme | property | core/ |
|
BlockRepositoryTest::providerBlocksConfig | function | core/ |
|
BlockRepositoryTest::setUp | 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 | class | core/ |
|
BlockResourceTestBase.php | file | core/ |
|
BlockResourceTestBase::$entity | property | core/ |
|
BlockResourceTestBase::$entityTypeId | property | core/ |
The tested entity type. |
BlockResourceTestBase::$modules | property | core/ |
Modules to install. |
BlockResourceTestBase::createEntity | function | core/ |
Creates the entity to be tested. |
BlockResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
Pagination
- Previous page
- Page 27
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.