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. Search main for block
  6. 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
TestInlineTemplateFormBlock.php file core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestInlineTemplateFormBlock.php
TestInlineTemplateFormBlock::build function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestInlineTemplateFormBlock.php Builds and returns the renderable array for this block plugin.
TestMultipleFormsBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestMultipleFormsBlock.php Provides a block with multiple forms.
TestMultipleFormsBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestMultipleFormsBlock.php
TestMultipleFormsBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestMultipleFormsBlock.php Builds and returns the renderable array for this block plugin.
TestPageTitleMainContentAndMessagesBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestPageTitleMainContentAndMessagesBlock.php Provides a block which includes page title, main content & messages together.
TestPageTitleMainContentAndMessagesBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestPageTitleMainContentAndMessagesBlock.php
TestPageTitleMainContentAndMessagesBlock::$isMainContentPlaced property core/modules/block/tests/modules/block_test/src/Plugin/Block/TestPageTitleMainContentAndMessagesBlock.php Whether setMainContent was called.
TestPageTitleMainContentAndMessagesBlock::$isPageTitlePlaced property core/modules/block/tests/modules/block_test/src/Plugin/Block/TestPageTitleMainContentAndMessagesBlock.php Whether setTitle was called.
TestPageTitleMainContentAndMessagesBlock::$mainContent property core/modules/block/tests/modules/block_test/src/Plugin/Block/TestPageTitleMainContentAndMessagesBlock.php The render array representing the main page content.
TestPageTitleMainContentAndMessagesBlock::$title property core/modules/block/tests/modules/block_test/src/Plugin/Block/TestPageTitleMainContentAndMessagesBlock.php The page title: a string (plain title) or a render array (formatted title).
TestPageTitleMainContentAndMessagesBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestPageTitleMainContentAndMessagesBlock.php Builds and returns the renderable array for this block plugin.
TestPageTitleMainContentAndMessagesBlock::setMainContent function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestPageTitleMainContentAndMessagesBlock.php Sets the main content render array.
TestPageTitleMainContentAndMessagesBlock::setTitle function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestPageTitleMainContentAndMessagesBlock.php Sets the title.
TestSettingsValidationBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php Provides a test settings validation block.
TestSettingsValidationBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php
TestSettingsValidationBlock::blockForm function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php
TestSettingsValidationBlock::blockValidate function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php
TestSettingsValidationBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php Builds and returns the renderable array for this block plugin.
TestXssBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestXssBlock.php Provides a block containing an XSS payload.
TestXssBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestXssBlock.php
TestXssBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestXssBlock.php Builds and returns the renderable array for this block plugin.
theme.negotiator.block.admin_demo service core/modules/block/block.services.yml Drupal\block\Theme\AdminDemoNegotiator
TitleBlockPluginInterface interface core/lib/Drupal/Core/Block/TitleBlockPluginInterface.php The interface for "title" blocks.
TitleBlockPluginInterface.php file core/lib/Drupal/Core/Block/TitleBlockPluginInterface.php
TitleBlockPluginInterface::setTitle function core/lib/Drupal/Core/Block/TitleBlockPluginInterface.php Sets the title.
toolbar-block.css file core/modules/navigation/css/components/toolbar-block.css Toolbar block styles.
toolbar-block.pcss.css file core/modules/navigation/css/components/toolbar-block.pcss.css Toolbar block styles.
TwigThemeTestController::transBlockRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Menu callback for testing translation blocks in a Twig template.
TypedDataStringBlock class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/TypedDataStringBlock.php Implements a String TypedData contextual block plugin.
TypedDataStringBlock.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/TypedDataStringBlock.php
TypedDataStringBlock::getTitle function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/TypedDataStringBlock.php Returns the title of the block.
UmamiHooks::preprocessBlock function core/profiles/demo_umami/themes/umami/src/Hook/UmamiHooks.php Implements hook_preprocess_HOOK() for block.
UmamiHooks::preprocessBlockBundleBannerBlock function core/profiles/demo_umami/themes/umami/src/Hook/UmamiHooks.php Implements hook_preprocess_HOOK() for block--bundle--banner-block.
UmamiHooks::preprocessBlockBundleFooterPromoBlock function core/profiles/demo_umami/themes/umami/src/Hook/UmamiHooks.php Implements hook_preprocess_HOOK() for block bundle footer promo.
UmamiHooks::themeSuggestionsBlockAlter function core/profiles/demo_umami/themes/umami/src/Hook/UmamiHooks.php Implements hook_theme_suggestions_HOOK_alter() for block templates.
umami_form_search_block_form_alter function core/profiles/demo_umami/themes/umami/umami.theme Implements hook_form_FORM_ID_alter() for search_block_form.
umami_preprocess_block function core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for block.
umami_preprocess_block__bundle__banner_block function core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for block--bundle--banner-block.
umami_preprocess_block__bundle__footer_promo_block function core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for block bundle footer promo.
umami_theme_suggestions_block_alter function core/profiles/demo_umami/themes/umami/umami.theme Implements hook_theme_suggestions_HOOK_alter() for block templates.
UnblockUser class core/modules/user/src/Plugin/Action/UnblockUser.php Unblocks a user.
UnblockUser.php file core/modules/user/src/Plugin/Action/UnblockUser.php
UnblockUser::access function core/modules/user/src/Plugin/Action/UnblockUser.php Checks object access.
UnblockUser::execute function core/modules/user/src/Plugin/Action/UnblockUser.php Executes the plugin.
UninstallDefaultContentTest::assertImportedCustomBlock function core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/UninstallDefaultContentTest.php Assert block content are imported.
UninstallDefaultContentTest::expectedBlocks function core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/UninstallDefaultContentTest.php Returns the expected properties of this profile's content blocks.
UnpublishedBlockTest class core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php Tests unpublishing of block_content entities.
UnpublishedBlockTest.php file core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php
UnpublishedBlockTest::$defaultTheme property core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php The theme to install as the default for testing.

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