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
DiffFormatter::_start_block function core/lib/Drupal/Core/Diff/DiffFormatter.php
DisplayBlockTest class core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php Tests the block display plugin.
DisplayBlockTest.php file core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php
DisplayBlockTest::$defaultTheme property core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php The theme to install as the default for testing.
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
DisplayBlockTest::testBlockCategory function core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php Tests default and custom 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 testcases 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 Test 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.
DocParserTest::testTypicalMethodDocBlock function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php @group debug
drupal-8.block-content-uninstall.php file core/modules/system/tests/fixtures/update/drupal-8.block-content-uninstall.php Partial database to mimic the uninstallation of the block_content module.
drupal-8.block-context-manager-2354889.php file core/modules/system/tests/fixtures/update/drupal-8.block-context-manager-2354889.php Contains database additions to drupal-8.bare.standard.php.gz for testing the
upgrade path of https://www.drupal.org/node/2354889.
drupal-8.block-test-enabled-missing-schema.php file core/modules/block/tests/fixtures/update/drupal-8.block-test-enabled-missing-schema.php Partial database to mimic the installation of the block_test module.
drupal-8.block-test-enabled.php file core/modules/system/tests/fixtures/update/drupal-8.block-test-enabled.php Partial database to mimic the installation of the block_test module.
drupal-8.local-actions-tasks-into-blocks-507488.php file core/modules/system/tests/fixtures/update/drupal-8.local-actions-tasks-into-blocks-507488.php Contains database additions to drupal-8.bare.standard.php.gz for testing the
upgrade path of https://www.drupal.org/node/507488.
drupal-8.page-title-into-block-2476947.php file core/modules/system/tests/fixtures/update/drupal-8.page-title-into-block-2476947.php Contains database additions to drupal-8.bare.standard.php.gz for testing the
upgrade path of https://www.drupal.org/node/2476947.
drupal-8.seven-secondary-local-tasks-block-2569529.php file core/modules/system/tests/fixtures/update/drupal-8.seven-secondary-local-tasks-block-2569529.php Contains database additions to drupal-8.bare.standard.php.gz for testing the
upgrade path of https://www.drupal.org/node/507488.
drupal-8.site-branding-into-block-2005546.php file core/modules/system/tests/fixtures/update/drupal-8.site-branding-into-block-2005546.php Contains database additions to drupal-8.bare.standard.php.gz for testing the
upgrade path of https://www.drupal.org/node/2005546.
drupal-8.update-test-block-disabled-2513534.php file core/modules/system/tests/fixtures/update/drupal-8.update-test-block-disabled-2513534.php Contains database additions to drupal-8.bare.standard.php.gz for testing the
upgrade path of https://www.drupal.org/node/2513534.
drupal-8.views_block_content-2976334.php file core/modules/block_content/tests/fixtures/update/drupal-8.views_block_content-2976334.php Contains database additions to drupal-8.bare.standard.php.gz for testing the
upgrade path of https://www.drupal.org/project/drupal/issues/2976334.
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::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 Plugin annotation

@MigrateDestination(
id = "entity:block"
)
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.
EntityCrudHookTest::testBlockHooks function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Tests hook invocations for CRUD operations on blocks.
EntityQueryAccessTest::testBlockContentEntityQueryAccess function core/modules/views/tests/src/Functional/Entity/EntityQueryAccessTest.php Tests that the 'block_content_access' query tag is respected by Views.
entity_crud_hook_test_block_create function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_create() for block entities.
entity_crud_hook_test_block_delete function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_delete() for block entities.
entity_crud_hook_test_block_insert function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_insert() for block entities.
entity_crud_hook_test_block_load function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_load() for block entities.
entity_crud_hook_test_block_predelete function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_predelete() for block entities.
entity_crud_hook_test_block_presave function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_presave() for block entities.
entity_crud_hook_test_block_update function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_update() for block entities.
exposed-filter-blocks.php file core/modules/views/tests/fixtures/update/exposed-filter-blocks.php Test fixture.
ExposedFilterBlocksUpdateTest class core/modules/views/tests/src/Functional/Update/ExposedFilterBlocksUpdateTest.php Tests that the additional settings are added to the entity link field.
ExposedFilterBlocksUpdateTest.php file core/modules/views/tests/src/Functional/Update/ExposedFilterBlocksUpdateTest.php
ExposedFilterBlocksUpdateTest::setDatabaseDumpFiles function core/modules/views/tests/src/Functional/Update/ExposedFilterBlocksUpdateTest.php Set database dump files to be used.

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