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
MigrateCustomBlockContentTranslationTest.php file core/modules/block_content/tests/src/Kernel/Migrate/d7/MigrateCustomBlockContentTranslationTest.php
MigrateCustomBlockContentTranslationTest::$modules property core/modules/block_content/tests/src/Kernel/Migrate/d6/MigrateCustomBlockContentTranslationTest.php Modules to enable.
MigrateCustomBlockContentTranslationTest::$modules property core/modules/block_content/tests/src/Kernel/Migrate/d7/MigrateCustomBlockContentTranslationTest.php Modules to enable.
MigrateCustomBlockContentTranslationTest::setUp function core/modules/block_content/tests/src/Kernel/Migrate/d6/MigrateCustomBlockContentTranslationTest.php
MigrateCustomBlockContentTranslationTest::setUp function core/modules/block_content/tests/src/Kernel/Migrate/d7/MigrateCustomBlockContentTranslationTest.php
MigrateCustomBlockContentTranslationTest::testCustomBlockContentTranslation function core/modules/block_content/tests/src/Kernel/Migrate/d6/MigrateCustomBlockContentTranslationTest.php Tests the Drupal 6 i18n custom block strings to Drupal 8 migration.
MigrateCustomBlockContentTranslationTest::testCustomBlockContentTranslation function core/modules/block_content/tests/src/Kernel/Migrate/d7/MigrateCustomBlockContentTranslationTest.php Tests the Drupal 7 i18n custom block strings to Drupal 8 migration.
MigrateCustomBlockTest class core/modules/block_content/tests/src/Kernel/Migrate/d7/MigrateCustomBlockTest.php Tests migration of custom blocks.
MigrateCustomBlockTest.php file core/modules/block_content/tests/src/Kernel/Migrate/d7/MigrateCustomBlockTest.php
MigrateCustomBlockTest::$modules property core/modules/block_content/tests/src/Kernel/Migrate/d7/MigrateCustomBlockTest.php Modules to enable.
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 custom 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::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 custom blocks.

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