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 \Drupal\block\Hook\BlockHooks::rebuild[[api-linebreak]] |
BlockRebuildTest::testRebuildNoBlocks |
function |
core/modules/block/tests/src/Kernel/BlockRebuildTest.php |
@covers \Drupal\block\Hook\BlockHooks::rebuild[[api-linebreak]] |
BlockRebuildTest::testRebuildNoInvalidBlocks |
function |
core/modules/block/tests/src/Kernel/BlockRebuildTest.php |
@covers \Drupal\block\Hook\BlockHooks::rebuild[[api-linebreak]] |
BlockRegion |
class |
core/modules/block/src/Plugin/migrate/process/BlockRegion.php |
Determines the region for a block. |
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 |
Tests Drupal\block\Plugin\migrate\process\BlockRegion. |
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 |
Render API callback: Alters the content of a block. |
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::$contextHandler |
property |
core/modules/block/src/BlockRepository.php |
The context handler. |
BlockRepository::$themeManager |
property |
core/modules/block/src/BlockRepository.php |
The theme manager. |
BlockRepository::getUniqueMachineName |
function |
core/modules/block/src/BlockRepository.php |
Based on a suggested string generates a unique machine name for a block. |
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 |
Provides an interface for the block repository. |
BlockRepositoryInterface.php |
file |
core/modules/block/src/BlockRepositoryInterface.php |
|
BlockRepositoryInterface::getUniqueMachineName |
function |
core/modules/block/src/BlockRepositoryInterface.php |
Based on a suggested string generates a unique machine name for a block. |
BlockRepositoryInterface::getVisibleBlocksPerRegion |
function |
core/modules/block/src/BlockRepositoryInterface.php |
Returns an array of regions and their block entities. |
BlockRepositoryInterface::REGIONS_ALL |
constant |
core/modules/block/src/BlockRepositoryInterface.php |
Return all regions. |
BlockRepositoryInterface::REGIONS_VISIBLE |
constant |
core/modules/block/src/BlockRepositoryInterface.php |
Return only visible regions. |
BlockRepositoryTest |
class |
core/modules/block/tests/src/Unit/BlockRepositoryTest.php |
Tests Drupal\block\BlockRepository. |
BlockRepositoryTest.php |
file |
core/modules/block/tests/src/Unit/BlockRepositoryTest.php |
|
BlockRepositoryTest::$blockRepository |
property |
core/modules/block/tests/src/Unit/BlockRepositoryTest.php |
The block repository. |
BlockRepositoryTest::$blockStorage |
property |
core/modules/block/tests/src/Unit/BlockRepositoryTest.php |
The block storage or a mock. |
BlockRepositoryTest::$contextHandler |
property |
core/modules/block/tests/src/Unit/BlockRepositoryTest.php |
The context handler of a mock. |
BlockRepositoryTest::$theme |
property |
core/modules/block/tests/src/Unit/BlockRepositoryTest.php |
The theme for the test. |
BlockRepositoryTest::providerBlocksConfig |
function |
core/modules/block/tests/src/Unit/BlockRepositoryTest.php |
Provides data to testGetVisibleBlocksPerRegion(). |
BlockRepositoryTest::setUp |
function |
core/modules/block/tests/src/Unit/BlockRepositoryTest.php |
|
BlockRepositoryTest::testGetVisibleBlocksPerRegion |
function |
core/modules/block/tests/src/Unit/BlockRepositoryTest.php |
Tests the retrieval of block entities. |
BlockRepositoryTest::testGetVisibleBlocksPerRegionWithContext |
function |
core/modules/block/tests/src/Unit/BlockRepositoryTest.php |
Tests the retrieval of block entities that are context-aware. |