Search for region

  1. Search 7.x for region
  2. Search 9.5.x for region
  3. Search 10.3.x for region
  4. Search 11.x for region
  5. Other projects
Title Object type File name Summary
ActiveTheme::$regions property core/lib/Drupal/Core/Theme/ActiveTheme.php The regions provided by the theme.
ActiveTheme::getRegions function core/lib/Drupal/Core/Theme/ActiveTheme.php The regions used by the theme.
AssertContentTrait::assertNoLinkByHrefInMainRegion function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if a link containing a given href is not found in the main region.
Block::$region property core/modules/block/src/Entity/Block.php The region this block is placed in.
Block::getRegion function core/modules/block/src/Entity/Block.php Returns the region this block is placed in.
Block::setRegion function core/modules/block/src/Entity/Block.php Sets the region this block is placed in.
BlockController::getVisibleRegionNames function core/modules/block/src/Controller/BlockController.php Returns the human-readable list of regions keyed by machine name.
BlockHiddenRegionTest class core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php Tests that a newly installed theme does not inherit blocks to its hidden
regions.
BlockHiddenRegionTest.php file core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php
BlockHiddenRegionTest::$adminUser property core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php An administrative user to configure the test environment.
BlockHiddenRegionTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php The theme to install as the default for testing.
BlockHiddenRegionTest::$modules property core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php Modules to install.
BlockHiddenRegionTest::setUp function core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php
BlockHiddenRegionTest::testBlockNotInHiddenRegion function core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php Tests that hidden regions do not inherit blocks when a theme is installed.
BlockInterface::BLOCK_REGION_NONE constant core/modules/block/src/BlockInterface.php Denotes that a block is not enabled in any region and should not be shown.
BlockInterface::getRegion function core/modules/block/src/BlockInterface.php Returns the region this block is placed in.
BlockInterface::setRegion function core/modules/block/src/BlockInterface.php Sets the region this block is placed in.
BlockInvalidRegionTest class core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php Tests that an active block assigned to a non-existing region triggers the
warning message and is disabled.
BlockInvalidRegionTest.php file core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php
BlockInvalidRegionTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php The theme to install as the default for testing.
BlockInvalidRegionTest::$modules property core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php Modules to install.
BlockInvalidRegionTest::setUp function core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php
BlockInvalidRegionTest::testBlockInInvalidRegion function core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php Tests that blocks assigned to invalid regions work correctly.
BlockListBuilder::systemRegionList function core/modules/block/src/BlockListBuilder.php Wraps system_region_list().
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
@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.
BlockRepository::getVisibleBlocksPerRegion function core/modules/block/src/BlockRepository.php Returns an array of regions and their block entities.
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::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.
BlockTest::moveBlockToRegion function core/modules/block/tests/src/Functional/BlockTest.php Moves a block to a given region via the UI and confirms the result.
BlockTestBase::$regions property core/modules/block/tests/src/Functional/BlockTestBase.php A list of theme regions to test.
BlockTestBase::$regions property core/modules/block/src/Tests/BlockTestBase.php A list of theme regions to test.
BlockUiTest::$regions property core/modules/block/tests/src/Functional/BlockUiTest.php

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