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
MockLayoutBlock class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockLayoutBlock.php Mock implementation of a layout block plugin used by Plugin API unit tests.
MockLayoutBlock.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockLayoutBlock.php
MockLayoutBlockDeriver class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php Mock implementation of DeriverInterface for the mock layout block plugin.
MockLayoutBlockDeriver.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php
MockLayoutBlockDeriver::getDerivativeDefinition function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php Gets the definition of a derivative plugin.
MockLayoutBlockDeriver::getDerivativeDefinitions function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php Gets the definition of all derivatives of a base plugin.
MockMenuBlock class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php Mock implementation of a menu block plugin used by Plugin API unit tests.
MockMenuBlock.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php
MockMenuBlock::$depth property core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php The number of menu levels deep to render.
MockMenuBlock::$title property core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php The title to display when rendering this block instance.
MockMenuBlock::getContent function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php Returns the content to display.
MockMenuBlock::__construct function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php
MockMenuBlockDeriver class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php Mock implementation of DeriverInterface for the mock menu block plugin.
MockMenuBlockDeriver.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php
MockMenuBlockDeriver::getDerivativeDefinition function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php Gets the definition of a derivative plugin.
MockMenuBlockDeriver::getDerivativeDefinitions function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php Gets the definition of all derivatives of a base plugin.
MockTestBlock class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockTestBlock.php Mock implementation of a test block plugin used by Plugin API unit tests.
MockTestBlock.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockTestBlock.php
MockUserLoginBlock class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserLoginBlock.php Mock implementation of a login block plugin used by Plugin API unit tests.
MockUserLoginBlock.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserLoginBlock.php
MockUserLoginBlock::$title property core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserLoginBlock.php The title to display when rendering this block instance.
MockUserLoginBlock::getTitle function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserLoginBlock.php Returns the title of the block.
MockUserLoginBlock::__construct function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserLoginBlock.php Constructs a \Drupal\Component\Plugin\PluginBase object.
MockUserNameBlock class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserNameBlock.php Implementation of a user name block plugin used by Plugin API context test.
MockUserNameBlock.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserNameBlock.php
MockUserNameBlock::getTitle function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockUserNameBlock.php Returns the title of the block.
ModerationStateBlockTest class core/modules/content_moderation/tests/src/Functional/ModerationStateBlockTest.php Tests general content moderation workflow for blocks.
ModerationStateBlockTest.php file core/modules/content_moderation/tests/src/Functional/ModerationStateBlockTest.php
ModerationStateBlockTest::$defaultTheme property core/modules/content_moderation/tests/src/Functional/ModerationStateBlockTest.php The theme to install as the default for testing.
ModerationStateBlockTest::getAdministratorPermissions function core/modules/content_moderation/tests/src/Functional/ModerationStateBlockTest.php
ModerationStateBlockTest::setUp function core/modules/content_moderation/tests/src/Functional/ModerationStateBlockTest.php Sets the test up.
ModerationStateBlockTest::testCustomBlockModeration function core/modules/content_moderation/tests/src/Functional/ModerationStateBlockTest.php Tests moderating content blocks.
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.

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