Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
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.
BlockResourceTestBase class core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php Resource test base for the block entity.
BlockResourceTestBase.php file core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php
BlockResourceTestBase::$entity property core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php
BlockResourceTestBase::$entityTypeId property core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php The tested entity type.
BlockResourceTestBase::$modules property core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php Modules to install.
BlockResourceTestBase::createEntity function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php Creates the entity to be tested.
BlockResourceTestBase::getExpectedCacheContexts function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
BlockResourceTestBase::getExpectedCacheTags function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php The expected cache tags for the GET/HEAD response of the test entity.
BlockResourceTestBase::getExpectedNormalizedEntity function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php Returns the expected normalization of the entity.
BlockResourceTestBase::getExpectedUnauthorizedAccessCacheability function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php @todo Fix this in https://www.drupal.org/node/2820315.
BlockResourceTestBase::getExpectedUnauthorizedAccessMessage function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php Return the expected error message.
BlockResourceTestBase::getExpectedUnauthorizedEntityAccessCacheability function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php The cacheability of unauthorized 'view' entity access.
BlockResourceTestBase::getNormalizedPostEntity function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php Returns the normalized POST entity.
BlockResourceTestBase::setUpAuthorization function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php Sets up the necessary authorization.
BlockSettings class core/modules/block/src/Plugin/migrate/process/BlockSettings.php Determines the block settings.
BlockSettings.php file core/modules/block/src/Plugin/migrate/process/BlockSettings.php
BlockSettings::$blockManager property core/modules/block/src/Plugin/migrate/process/BlockSettings.php The block manager service.
BlockSettings::transform function core/modules/block/src/Plugin/migrate/process/BlockSettings.php Set the block configuration.

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