Search for block

  1. Search 7.x for block
  2. Search 8.9.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 6/7 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
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.
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
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.
BlockTemplateSuggestionsTest.php file core/modules/block/tests/src/Kernel/BlockTemplateSuggestionsTest.php
BlockTemplateSuggestionsTest::$modules property core/modules/block/tests/src/Kernel/BlockTemplateSuggestionsTest.php Modules to enable.
BlockTemplateSuggestionsTest::testBlockThemeHookSuggestions function core/modules/block/tests/src/Kernel/BlockTemplateSuggestionsTest.php Tests template suggestions from block_theme_suggestions_block().
BlockTest class core/modules/block/tests/src/Kernel/Plugin/migrate/source/BlockTest.php Tests block source plugin.
BlockTest class core/modules/block/tests/src/Functional/BlockTest.php Tests basic block functionality.
BlockTest class core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php @coversDefaultClass \Drupal\views\Plugin\views\display\Block
@group block
BlockTest class core/modules/jsonapi/tests/src/Functional/BlockTest.php JSON:API integration test for the "Block" config entity type.
BlockTest.php file core/modules/jsonapi/tests/src/Functional/BlockTest.php
BlockTest.php file core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php
BlockTest.php file core/modules/block/tests/src/Kernel/Plugin/migrate/source/BlockTest.php
BlockTest.php file core/modules/block/tests/src/Functional/BlockTest.php
BlockTest::$blockDisplay property core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php The tested block display plugin.
BlockTest::$blockPlugin property core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php The views block plugin.
BlockTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockTest.php The theme to install as the default for testing.

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