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 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/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
MigrateCustomBlockTest::setUp function core/modules/block_content/tests/src/Kernel/Migrate/d7/MigrateCustomBlockTest.php
MigrateCustomBlockTest::testCustomBlockMigration function core/modules/block_content/tests/src/Kernel/Migrate/d7/MigrateCustomBlockTest.php Tests migration of content blocks from Drupal 7 to Drupal 8.
MockBlockManager class core/modules/system/tests/modules/plugin_test/src/Plugin/MockBlockManager.php Defines a plugin manager used by Plugin API derivative unit tests.
MockBlockManager.php file core/modules/system/tests/modules/plugin_test/src/Plugin/MockBlockManager.php
MockBlockManager::createContextDefinition function core/modules/system/tests/modules/plugin_test/src/Plugin/MockBlockManager.php Creates a new context definition with a label that is cast to string.
MockBlockManager::__construct function core/modules/system/tests/modules/plugin_test/src/Plugin/MockBlockManager.php
MockComplexContextBlock class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockComplexContextBlock.php Implementation of a complex context plugin used by Plugin API context tests.
MockComplexContextBlock.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockComplexContextBlock.php
MockComplexContextBlock::getTitle function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockComplexContextBlock.php
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
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
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::$usesSuperUserAccessPolicy property core/modules/content_moderation/tests/src/Functional/ModerationStateBlockTest.php @todo Remove and fix test to not rely on super user.
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.

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