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/lib/Drupal/Core/Block/Attribute/Block.php The Block attribute.
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
DisplayBlockTest::$modules property core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php Modules to install.
DisplayBlockTest::$testViews property core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php Views used by this test.
DisplayBlockTest::setUp function core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php Sets up the test.
DisplayBlockTest::testBlockCategory function core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php Tests default and content block categories.
DisplayBlockTest::testBlockContextualLinks function core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php Tests the contextual links on a Views block.
DisplayBlockTest::testBlockEmptyRendering function core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php Tests the various test cases of empty block rendering.
DisplayBlockTest::testBlockRendering function core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php Tests the actual rendering of the views block.
DisplayBlockTest::testDeleteBlockDisplay function core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php Tests removing a block display.
DisplayBlockTest::testViewsBlockForm function core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php Tests the block form for a Views block.
DisplayPluginBase::getSpecialBlocks function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Provides the block system with any exposed widget blocks for this display.
DisplayPluginBase::usesExposedFormInBlock function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Checks to see if the display can put the exposed form in a block.
DisplayPluginBase::viewExposedFormBlocks function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Renders the exposed form as block.
DisplayPluginInterface::getSpecialBlocks function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Provides the block system with any exposed widget blocks for this display.
DisplayPluginInterface::usesExposedFormInBlock function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Checks to see if the display can put the exposed form in a block.
DisplayPluginInterface::viewExposedFormBlocks function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Renders the exposed form as block.
DisplayTest::testAddDisplayBlockTranslation function core/modules/views_ui/tests/src/FunctionalJavascript/DisplayTest.php Test if 'add' translations are filtered from multilingual display options.
DocParserTest::testTypicalMethodDocBlock function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php @group debug
Drupal\block\BlockConfigUpdater service core/modules/block/block.services.yml
EmptyBlockForm class core/modules/block/tests/modules/block_test/src/PluginForm/EmptyBlockForm.php Provides a form for a block that is empty.
EmptyBlockForm.php file core/modules/block/tests/modules/block_test/src/PluginForm/EmptyBlockForm.php
EmptyBlockForm::$plugin property core/modules/block/tests/modules/block_test/src/PluginForm/EmptyBlockForm.php The plugin this form is for.
EmptyBlockForm::buildConfigurationForm function core/modules/block/tests/modules/block_test/src/PluginForm/EmptyBlockForm.php Form constructor.
EmptyBlockForm::submitConfigurationForm function core/modules/block/tests/modules/block_test/src/PluginForm/EmptyBlockForm.php Form submission handler.
EntityBlock class core/modules/block/src/Plugin/migrate/destination/EntityBlock.php Migrate destination for block entity.
EntityBlock.php file core/modules/block/src/Plugin/migrate/destination/EntityBlock.php
EntityBlock::getEntityId function core/modules/block/src/Plugin/migrate/destination/EntityBlock.php Gets the entity ID of the row.
EntityBlock::import function core/modules/block/src/Plugin/migrate/destination/EntityBlock.php Import the row.
EntityCrudHookTest::testBlockHooks function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Tests hook invocations for CRUD operations on blocks.
EntityCrudHookTestHooks::blockCreate function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_create() for block entities.
EntityCrudHookTestHooks::blockDelete function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_delete() for block entities.
EntityCrudHookTestHooks::blockInsert function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_insert() for block entities.
EntityCrudHookTestHooks::blockLoad function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_load() for block entities.
EntityCrudHookTestHooks::blockPredelete function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_predelete() for block entities.
EntityCrudHookTestHooks::blockPresave function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_presave() for block entities.
EntityCrudHookTestHooks::blockUpdate function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_update() for block entities.
EntityQueryAccessTest::testBlockContentEntityQueryAccess function core/modules/views/tests/src/Functional/Entity/EntityQueryAccessTest.php Tests that the 'block_content_access' query tag is respected by Views.
ExposedFormTest::providerTestExposedBlock function core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php Data provider for testing different types of displays.
ExposedFormTest::testExposedBlock function core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php Tests the exposed block functionality.
ExtraFieldBlock class core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php Provides a block that renders an extra field from an entity.
ExtraFieldBlock.php file core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php
ExtraFieldBlock::$entityFieldManager property core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php The entity field manager.
ExtraFieldBlock::$entityTypeManager property core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php The entity type manager.
ExtraFieldBlock::$fieldName property core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php The field name.
ExtraFieldBlock::blockAccess function core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php Indicates whether the block should be shown.
ExtraFieldBlock::build function core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php Builds and returns the renderable array for this block plugin.
ExtraFieldBlock::create function core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php Creates an instance of the plugin.
ExtraFieldBlock::defaultConfiguration function core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php
ExtraFieldBlock::getEntity function core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php Gets the entity that has the field.
ExtraFieldBlock::getPreviewFallbackString function core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php
ExtraFieldBlock::replaceFieldPlaceholder function core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php Replaces all placeholders for a given field.

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