Search for block

  1. Search 7.x for block
  2. Search 9.5.x for block
  3. Search 10.3.x for block
  4. Search 11.x for block
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Block class core/modules/views/src/Plugin/views/display/Block.php The plugin that handles a block.
Block class core/modules/block/src/Entity/Block.php Defines a Block configuration entity class.
Block class core/modules/block/src/Plugin/migrate/source/Block.php Drupal block source from database.
Block class core/lib/Drupal/Core/Block/Annotation/Block.php Defines a Block annotation object.

All search results

Title Object type File name Summary
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
@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.
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
BlockResourceTestBase class core/modules/rest/tests/src/Functional/EntityResource/Block/BlockResourceTestBase.php
BlockResourceTestBase.php file core/modules/rest/tests/src/Functional/EntityResource/Block/BlockResourceTestBase.php
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 Plugin annotation

@MigrateProcessPlugin(
id = "block_settings"
)
BlockSettings.php file core/modules/block/src/Plugin/migrate/process/BlockSettings.php
BlockSettings::transform function core/modules/block/src/Plugin/migrate/process/BlockSettings.php Set the block configuration.
BlockStorageUnitTest class core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php Tests the storage of blocks.
BlockStorageUnitTest.php file core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php
BlockStorageUnitTest::$controller property core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php The block storage.
BlockStorageUnitTest::$modules property core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php Modules to install.
BlockStorageUnitTest::createTests function core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php Tests the creation of blocks.
BlockStorageUnitTest::deleteTests function core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php Tests the deleting of blocks.
BlockStorageUnitTest::loadTests function core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php Tests the loading of blocks.
BlockStorageUnitTest::setUp function core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php
BlockStorageUnitTest::testBlockCRUD function core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php Tests CRUD operations.
BlockStorageUnitTest::testDefaultBlocks function core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php Tests the installation of default blocks.
BlockSystemBrandingTest class core/modules/block/tests/src/Functional/BlockSystemBrandingTest.php Tests branding block display.
BlockSystemBrandingTest.php file core/modules/block/tests/src/Functional/BlockSystemBrandingTest.php
BlockSystemBrandingTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockSystemBrandingTest.php The theme to install as the default for testing.
BlockSystemBrandingTest::$modules property core/modules/block/tests/src/Functional/BlockSystemBrandingTest.php Modules to install.
BlockSystemBrandingTest::setUp function core/modules/block/tests/src/Functional/BlockSystemBrandingTest.php
BlockSystemBrandingTest::testSystemBrandingSettings function core/modules/block/tests/src/Functional/BlockSystemBrandingTest.php Tests system branding block configuration.
BlockTemplateSuggestionsTest class core/modules/block/tests/src/Kernel/BlockTemplateSuggestionsTest.php Tests the block_theme_suggestions_block() function.

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