Search for block

  1. Search 7.x for block
  2. Search 9.5.x for block
  3. Search 8.9.x for block
  4. Search 10.3.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 6/7 block source from database.
Block class core/lib/Drupal/Core/Block/Attribute/Block.php The Block attribute.
Block class core/lib/Drupal/Core/Block/Annotation/Block.php Defines a Block annotation object.

All search results

Title Object type File name Summary
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
BlockRepository::getVisibleBlocksPerRegion function core/modules/block/src/BlockRepository.php
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::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 @coversDefaultClass \Drupal\block\BlockRepository
@group block
BlockRepositoryTest.php file core/modules/block/tests/src/Unit/BlockRepositoryTest.php
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.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::transform function core/modules/block/src/Plugin/migrate/process/BlockSettings.php Set the block configuration.
BlockSettingsTest class core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockSettingsTest.php @coversDefaultClass \Drupal\block\Plugin\migrate\process\BlockSettings
@group block
BlockSettingsTest.php file core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockSettingsTest.php
BlockSettingsTest::providerTestTransform function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockSettingsTest.php Provides data for testTransform.
BlockSettingsTest::testTransform function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockSettingsTest.php Tests the blocks settings process plugin.
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

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