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
BlockUser.php file core/modules/user/src/Plugin/Action/BlockUser.php
BlockUser::access function core/modules/user/src/Plugin/Action/BlockUser.php
BlockUser::execute function core/modules/user/src/Plugin/Action/BlockUser.php
BlockValidationTest class core/modules/block/tests/src/Kernel/BlockValidationTest.php Tests validation of block entities.
BlockValidationTest.php file core/modules/block/tests/src/Kernel/BlockValidationTest.php
BlockValidationTest::$modules property core/modules/block/tests/src/Kernel/BlockValidationTest.php
BlockValidationTest::$propertiesWithOptionalValues property core/modules/block/tests/src/Kernel/BlockValidationTest.php
BlockValidationTest::$propertiesWithRequiredKeys property core/modules/block/tests/src/Kernel/BlockValidationTest.php
BlockValidationTest::providerInvalidMachineNameCharacters function core/modules/block/tests/src/Kernel/BlockValidationTest.php Block names are atypical in that they allow periods in the machine name.
BlockValidationTest::providerMenuBlockLevelAndDepth function core/modules/block/tests/src/Kernel/BlockValidationTest.php Data provider for ::testMenuBlockLevelAndDepth().
BlockValidationTest::setLabel function core/modules/block/tests/src/Kernel/BlockValidationTest.php
BlockValidationTest::setUp function core/modules/block/tests/src/Kernel/BlockValidationTest.php
BlockValidationTest::testInvalidPluginId function core/modules/block/tests/src/Kernel/BlockValidationTest.php Tests validating a block with an unknown plugin ID.
BlockValidationTest::testLabelValidation function core/modules/block/tests/src/Kernel/BlockValidationTest.php
BlockValidationTest::testMenuBlockLevelAndDepth function core/modules/block/tests/src/Kernel/BlockValidationTest.php Tests validating menu block `level` and `depth` settings.
BlockValidationTest::testRegionValidation function core/modules/block/tests/src/Kernel/BlockValidationTest.php Tests validating a block's region in a theme.
BlockValidationTest::testRequiredPropertyValuesMissing function core/modules/block/tests/src/Kernel/BlockValidationTest.php
BlockValidationTest::testThemeValidation function core/modules/block/tests/src/Kernel/BlockValidationTest.php Tests validating a block with a non-existent theme.
BlockValidationTest::testWeightCannotBeNull function core/modules/block/tests/src/Kernel/BlockValidationTest.php @group legacy
BlockValidationTest::testWeightValidation function core/modules/block/tests/src/Kernel/BlockValidationTest.php Tests validating weight.
BlockViewBuilder class core/modules/block/src/BlockViewBuilder.php Provides a Block view builder.
BlockViewBuilder.php file core/modules/block/src/BlockViewBuilder.php
BlockViewBuilder::buildComponents function core/modules/block/src/BlockViewBuilder.php
BlockViewBuilder::buildPreRenderableBlock function core/modules/block/src/BlockViewBuilder.php Builds a #pre_render-able block render array.
BlockViewBuilder::lazyBuilder function core/modules/block/src/BlockViewBuilder.php Render API callback: Builds a block that can be pre-rendered.
BlockViewBuilder::preRender function core/modules/block/src/BlockViewBuilder.php Render API callback: Builds a block.
BlockViewBuilder::trustedCallbacks function core/modules/block/src/BlockViewBuilder.php
BlockViewBuilder::view function core/modules/block/src/BlockViewBuilder.php
BlockViewBuilder::viewMultiple function core/modules/block/src/BlockViewBuilder.php
BlockViewBuilderTest class core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Tests the block view builder.
BlockViewBuilderTest.php file core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php
BlockViewBuilderTest::$block property core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php The block being tested.
BlockViewBuilderTest::$controller property core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php The block storage.
BlockViewBuilderTest::$modules property core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php
BlockViewBuilderTest::$renderer property core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php The renderer.
BlockViewBuilderTest::assertBlockRenderedWithExpectedCacheability function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Asserts that a block is built/rendered/cached with expected cacheability.
BlockViewBuilderTest::getBlockRenderArray function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Get a fully built render array for a block.
BlockViewBuilderTest::setUp function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php
BlockViewBuilderTest::testBasicRendering function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Tests the rendering of blocks.
BlockViewBuilderTest::testBlockViewBuilderBuildAlter function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Tests block build altering.
BlockViewBuilderTest::testBlockViewBuilderCache function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Tests block render cache handling.
BlockViewBuilderTest::testBlockViewBuilderCacheTitleBlock function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Tests title block render cache handling.
BlockViewBuilderTest::testBlockViewBuilderViewAlter function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Tests block view altering.
BlockViewBuilderTest::testEmptyRender function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Tests rendering a block plugin that returns an empty array.
BlockViewBuilderTest::verifyRenderCacheHandling function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Verifies render cache handling of the block being tested.
BlockVisibility class core/modules/block/src/Plugin/migrate/process/BlockVisibility.php Determines the visibility for a block.
BlockVisibility.php file core/modules/block/src/Plugin/migrate/process/BlockVisibility.php
BlockVisibility::$migrateLookup property core/modules/block/src/Plugin/migrate/process/BlockVisibility.php The migrate lookup service.
BlockVisibility::$moduleHandler property core/modules/block/src/Plugin/migrate/process/BlockVisibility.php The module handler.
BlockVisibility::$skipPHP property core/modules/block/src/Plugin/migrate/process/BlockVisibility.php Whether or not to skip blocks that use PHP for visibility.

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