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
MoveBlockController class core/modules/layout_builder/src/Controller/MoveBlockController.php Defines a controller to move a block.
MoveBlockController.php file core/modules/layout_builder/src/Controller/MoveBlockController.php
MoveBlockController::$layoutTempstoreRepository property core/modules/layout_builder/src/Controller/MoveBlockController.php The layout tempstore repository.
MoveBlockController::build function core/modules/layout_builder/src/Controller/MoveBlockController.php Moves a block to another region.
MoveBlockController::create function core/modules/layout_builder/src/Controller/MoveBlockController.php Instantiates a new instance of this class.
MoveBlockController::__construct function core/modules/layout_builder/src/Controller/MoveBlockController.php LayoutController constructor.
MoveBlockForm class core/modules/layout_builder/src/Form/MoveBlockForm.php Provides a form for moving a block.
MoveBlockForm.php file core/modules/layout_builder/src/Form/MoveBlockForm.php
MoveBlockForm::$delta property core/modules/layout_builder/src/Form/MoveBlockForm.php The section delta.
MoveBlockForm::$layoutTempstore property core/modules/layout_builder/src/Form/MoveBlockForm.php The Layout Tempstore.
MoveBlockForm::$region property core/modules/layout_builder/src/Form/MoveBlockForm.php The region name.
MoveBlockForm::$sectionStorage property core/modules/layout_builder/src/Form/MoveBlockForm.php The section storage.
MoveBlockForm::$uuid property core/modules/layout_builder/src/Form/MoveBlockForm.php The component uuid.
MoveBlockForm::buildForm function core/modules/layout_builder/src/Form/MoveBlockForm.php Builds the move block form.
MoveBlockForm::create function core/modules/layout_builder/src/Form/MoveBlockForm.php Instantiates a new instance of this class.
MoveBlockForm::getComponentsWrapper function core/modules/layout_builder/src/Form/MoveBlockForm.php Ajax callback for the region select element.
MoveBlockForm::getFormId function core/modules/layout_builder/src/Form/MoveBlockForm.php Returns a unique string identifying the form.
MoveBlockForm::getSelectedDelta function core/modules/layout_builder/src/Form/MoveBlockForm.php Gets the selected delta.
MoveBlockForm::getSelectedRegion function core/modules/layout_builder/src/Form/MoveBlockForm.php Gets the selected region.
MoveBlockForm::submitForm function core/modules/layout_builder/src/Form/MoveBlockForm.php Form submission handler.
MoveBlockForm::successfulAjaxSubmit function core/modules/layout_builder/src/Form/MoveBlockForm.php Allows the form to respond to a successful AJAX submission.
MoveBlockForm::title function core/modules/layout_builder/src/Form/MoveBlockForm.php Provides a title callback.
MoveBlockForm::__construct function core/modules/layout_builder/src/Form/MoveBlockForm.php Constructs a new MoveBlockForm.
MoveBlockFormTest class core/modules/layout_builder/tests/src/FunctionalJavascript/MoveBlockFormTest.php Tests moving blocks via the form.
MoveBlockFormTest.php file core/modules/layout_builder/tests/src/FunctionalJavascript/MoveBlockFormTest.php
MoveBlockFormTest::$defaultTheme property core/modules/layout_builder/tests/src/FunctionalJavascript/MoveBlockFormTest.php The theme to install as the default for testing.
MoveBlockFormTest::$modules property core/modules/layout_builder/tests/src/FunctionalJavascript/MoveBlockFormTest.php Modules to enable.
MoveBlockFormTest::assertBlockTable function core/modules/layout_builder/tests/src/FunctionalJavascript/MoveBlockFormTest.php Asserts the correct block labels appear in the draggable tables.
MoveBlockFormTest::assertRegionBlocksOrder function core/modules/layout_builder/tests/src/FunctionalJavascript/MoveBlockFormTest.php Asserts that blocks are in the correct order for a region.
MoveBlockFormTest::findRowHandle function core/modules/layout_builder/tests/src/FunctionalJavascript/MoveBlockFormTest.php Finds the row handle for a block in the draggable table.
MoveBlockFormTest::moveBlockWithKeyboard function core/modules/layout_builder/tests/src/FunctionalJavascript/MoveBlockFormTest.php Moves a block in the draggable table.
MoveBlockFormTest::openBodyMoveForm function core/modules/layout_builder/tests/src/FunctionalJavascript/MoveBlockFormTest.php Open block for the body field.
MoveBlockFormTest::setUp function core/modules/layout_builder/tests/src/FunctionalJavascript/MoveBlockFormTest.php
MoveBlockFormTest::testMoveBlock function core/modules/layout_builder/tests/src/FunctionalJavascript/MoveBlockFormTest.php Tests moving a block.
MultipleBlockFormTest class core/tests/Drupal/KernelTests/Core/Block/MultipleBlockFormTest.php Tests that blocks can have multiple forms.
MultipleBlockFormTest.php file core/tests/Drupal/KernelTests/Core/Block/MultipleBlockFormTest.php
MultipleBlockFormTest::$modules property core/tests/Drupal/KernelTests/Core/Block/MultipleBlockFormTest.php Modules to enable.
MultipleBlockFormTest::testMultipleForms function core/tests/Drupal/KernelTests/Core/Block/MultipleBlockFormTest.php Tests that blocks can have multiple forms.
NegotiationConfigureForm::$blockManager property core/modules/language/src/Form/NegotiationConfigureForm.php The block manager.
NegotiationConfigureForm::$blockStorage property core/modules/language/src/Form/NegotiationConfigureForm.php The block storage.
NewDefaultThemeBlocksTest class core/modules/block/tests/src/Kernel/NewDefaultThemeBlocksTest.php Tests that a new default theme gets blocks.
NewDefaultThemeBlocksTest.php file core/modules/block/tests/src/Kernel/NewDefaultThemeBlocksTest.php
NewDefaultThemeBlocksTest::$modules property core/modules/block/tests/src/Kernel/NewDefaultThemeBlocksTest.php Modules to enable.
NewDefaultThemeBlocksTest::testNewDefaultThemeBlocks function core/modules/block/tests/src/Kernel/NewDefaultThemeBlocksTest.php Check the blocks are correctly copied by block_themes_installed().
NewTopicsBlock class core/modules/forum/src/Plugin/Block/NewTopicsBlock.php Provides a 'New forum topics' block.
NewTopicsBlock.php file core/modules/forum/src/Plugin/Block/NewTopicsBlock.php
NewTopicsBlock::buildForumQuery function core/modules/forum/src/Plugin/Block/NewTopicsBlock.php Builds the select query to use for this forum block.
Node::blockDisplayOptions function core/modules/node/src/Plugin/views/wizard/Node.php Retrieves the block display options.
NodeBlockFunctionalTest class core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php Tests node block functionality.
NodeBlockFunctionalTest.php file core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php

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