Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
BlockRebuildTest::setUp function core/modules/block/tests/src/Kernel/BlockRebuildTest.php
BlockRebuildTest::setUpBeforeClass function core/modules/block/tests/src/Kernel/BlockRebuildTest.php
BlockRebuildTest::testRebuildInvalidBlocks function core/modules/block/tests/src/Kernel/BlockRebuildTest.php @covers ::block_rebuild[[api-linebreak]]
BlockRebuildTest::testRebuildNoBlocks function core/modules/block/tests/src/Kernel/BlockRebuildTest.php @covers ::block_rebuild[[api-linebreak]]
BlockRebuildTest::testRebuildNoInvalidBlocks function core/modules/block/tests/src/Kernel/BlockRebuildTest.php @covers ::block_rebuild[[api-linebreak]]
BlockRegion class core/modules/block/src/Plugin/migrate/process/BlockRegion.php Plugin annotation

@MigrateProcessPlugin(
id = "block_region"
)
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[[api-linebreak]]
@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 If the source and destination themes are identical, the region should only
be passed through if it actually exists in the destination theme.
BlockRegionTest::testTransformSameThemeRegionNotExists function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php If the source and destination themes are identical, the region should be
changed to 'content' if it doesn't exist in the destination theme.
BlockRegionTest::transform function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php Transforms a value through the block_region plugin.
BlockRemoveDisabledRegionUpdateTest class core/modules/block/tests/src/Functional/Update/BlockRemoveDisabledRegionUpdateTest.php Tests the upgrade path for removal of disabled region.
BlockRemoveDisabledRegionUpdateTest.php file core/modules/block/tests/src/Functional/Update/BlockRemoveDisabledRegionUpdateTest.php
BlockRemoveDisabledRegionUpdateTest::$modules property core/modules/block/tests/src/Functional/Update/BlockRemoveDisabledRegionUpdateTest.php Modules to enable after the database is loaded.
BlockRemoveDisabledRegionUpdateTest::setDatabaseDumpFiles function core/modules/block/tests/src/Functional/Update/BlockRemoveDisabledRegionUpdateTest.php Set database dump files to be used.
BlockRemoveDisabledRegionUpdateTest::testUpdateHookN function core/modules/block/tests/src/Functional/Update/BlockRemoveDisabledRegionUpdateTest.php Tests that block context mapping is updated properly.
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.
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::$themeManager property core/modules/block/src/BlockRepository.php The theme manager.
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
BlockRepositoryInterface.php file core/modules/block/src/BlockRepositoryInterface.php
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 @coversDefaultClass \Drupal\block\BlockRepository[[api-linebreak]]
@group block
BlockRepositoryTest.php file core/modules/block/tests/src/Unit/BlockRepositoryTest.php Contains \Drupal\Tests\block\Unit\BlockRepositoryTest.
BlockRepositoryTest::$blockRepository property core/modules/block/tests/src/Unit/BlockRepositoryTest.php
BlockRepositoryTest::$blockStorage property core/modules/block/tests/src/Unit/BlockRepositoryTest.php
BlockRepositoryTest::$contextHandler property core/modules/block/tests/src/Unit/BlockRepositoryTest.php
BlockRepositoryTest::$theme property core/modules/block/tests/src/Unit/BlockRepositoryTest.php
BlockRepositoryTest::providerBlocksConfig function core/modules/block/tests/src/Unit/BlockRepositoryTest.php
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.

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