Search for region

  1. Search 7.x for region
  2. Search 9.5.x for region
  3. Search 8.9.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
Block::setRegion function core/modules/block/src/Entity/Block.php
BlockContentListTest::testBlockRegionPlacement function core/modules/block_content/tests/src/Functional/BlockContentListTest.php Tests the region value when a new block is saved.
BlockController::getVisibleRegionNames function core/modules/block/src/Controller/BlockController.php Returns the human-readable list of regions keyed by machine name.
BlockDeleteForm::systemRegionList function core/modules/block/src/Form/BlockDeleteForm.php Wraps system_region_list().
BlockHiddenRegionTest class core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php Tests that blocks are not added to hidden regions on theme installation.
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
BlockHiddenRegionTest::$modules property core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php
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::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 blocks assigned to invalid regions are disabled with a warning.
BlockInvalidRegionTest.php file core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php
BlockInvalidRegionTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php
BlockInvalidRegionTest::$modules property core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php
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
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
BlockRegion::transform function core/modules/block/src/Plugin/migrate/process/BlockRegion.php
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 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.
BlockRepository::getVisibleBlocksPerRegion function core/modules/block/src/BlockRepository.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::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.
BlockUiTest::$regions property core/modules/block/tests/src/Functional/BlockUiTest.php
ConfigureBlockFormBase::$region property core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php The current region.
EntityDisplayBase::getDefaultRegion function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Gets the default region.
EntityDisplayFormBase::getRegionOptions function core/modules/field_ui/src/Form/EntityDisplayFormBase.php Returns an associative array of all regions.
EntityDisplayFormBase::getRegions function core/modules/field_ui/src/Form/EntityDisplayFormBase.php Get the regions needed to create the overview form.
EntityDisplayFormBase::getRowRegion function core/modules/field_ui/src/Form/EntityDisplayFormBase.php Returns the region to which a row in the display overview belongs.

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