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
AjaxFormCacheTest::testBlockForms function core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxFormCacheTest.php Tests AJAX forms in blocks.
AjaxTestController::insertLinksBlockWrapper function core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php Returns a render array of links that directly Drupal.ajax().
AssertBlockAppearsTrait trait core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php Provides test assertions for testing block appearance.
AssertBlockAppearsTrait.php file core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php
AssertBlockAppearsTrait::assertBlockAppears function core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php Checks to see whether a block appears on the page.
AssertBlockAppearsTrait::assertNoBlockAppears function core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php Checks to see whether a block does not appears on the page.
AssertBlockAppearsTrait::findBlockInstance function core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php Find a block instance on the page.
AttachedRenderingBlock class core/modules/system/tests/modules/render_attached_test/src/Plugin/Block/AttachedRenderingBlock.php A block we can use to test caching of #attached headers.
AttachedRenderingBlock.php file core/modules/system/tests/modules/render_attached_test/src/Plugin/Block/AttachedRenderingBlock.php
AttachedRenderingBlock::build function core/modules/system/tests/modules/render_attached_test/src/Plugin/Block/AttachedRenderingBlock.php Builds and returns the renderable array for this block plugin.
AttachedRenderingBlock::getCacheMaxAge function core/modules/system/tests/modules/render_attached_test/src/Plugin/Block/AttachedRenderingBlock.php
bartik_preprocess_block function core/themes/bartik/bartik.theme Implements hook_preprocess_HOOK() for block.html.twig.
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.
Block API group core/modules/block/block.api.php Information about the classes and interfaces that make up the Block API.
block--bundle--banner-block.html.twig file core/profiles/demo_umami/themes/umami/templates/components/banner-block/block--bundle--banner-block.html.twig Theme override to display a block.
block--bundle--footer-promo-block.html.twig file core/profiles/demo_umami/themes/umami/templates/components/footer-promo-block/block--bundle--footer-promo-block.html.twig Theme override to display a block.
block--help.html.twig file core/profiles/demo_umami/themes/umami/templates/components/help-block/block--help.html.twig Theme override for help messages.
block--local-actions-block.html.twig file core/themes/seven/templates/block--local-actions-block.html.twig Theme override for local actions (primary admin actions.)
block--local-actions-block.html.twig file core/themes/claro/templates/block--local-actions-block.html.twig Theme override for local actions (primary admin actions.)
block--local-actions-block.html.twig file core/themes/stable9/templates/block/block--local-actions-block.html.twig Theme override for local actions (primary admin actions.)
block--local-actions-block.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/block/block--local-actions-block.html.twig Theme override for local actions (primary admin actions.)
block--local-actions-block.html.twig file core/themes/bartik/templates/classy/block/block--local-actions-block.html.twig Theme override for local actions (primary admin actions.)
block--local-actions-block.html.twig file core/themes/classy/templates/block/block--local-actions-block.html.twig Theme override for local actions (primary admin actions.)
block--local-actions-block.html.twig file core/themes/starterkit_theme/templates/block/block--local-actions-block.html.twig Theme override for local actions (primary admin actions.)
block--local-actions-block.html.twig file core/themes/stable/templates/block/block--local-actions-block.html.twig Theme override for local actions (primary admin actions.)
block--local-actions-block.html.twig file core/modules/system/templates/block--local-actions-block.html.twig Theme override for local actions (primary admin actions.)
block--local-tasks-block.html.twig file core/themes/seven/templates/classy/block/block--local-tasks-block.html.twig Theme override for tabs.
block--local-tasks-block.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/block/block--local-tasks-block.html.twig Theme override for tabs.
block--local-tasks-block.html.twig file core/themes/claro/templates/block/block--local-tasks-block.html.twig Theme override for tabs.
block--local-tasks-block.html.twig file core/themes/bartik/templates/classy/block/block--local-tasks-block.html.twig Theme override for tabs.
block--local-tasks-block.html.twig file core/themes/classy/templates/block/block--local-tasks-block.html.twig Theme override for tabs.
block--local-tasks-block.html.twig file core/themes/starterkit_theme/templates/block/block--local-tasks-block.html.twig Theme override for tabs.
block--page-title-block.html.twig file core/themes/olivero/templates/block/block--page-title-block.html.twig Olivero's implementation to display a block.
block--preview-aware-block.html.twig file core/modules/layout_builder/tests/modules/layout_builder_test/templates/block--preview-aware-block.html.twig {% if in_preview %}
The block template is being previewed.
{% endif %}

{% include '@block/block.html.twig' %}
block--primary-menu--plugin-id--search-form-block.html.twig file core/themes/olivero/templates/block/block--primary-menu--plugin-id--search-form-block.html.twig Olivero's theme implementation for a search form block in the Primary Menu region.
block--search-form-block.html.twig file core/themes/seven/templates/classy/block/block--search-form-block.html.twig Theme override for the search form block.
block--search-form-block.html.twig file core/profiles/demo_umami/themes/umami/templates/components/search/block--search-form-block.html.twig Theme override for the search form block.
block--search-form-block.html.twig file core/themes/olivero/templates/block/block--search-form-block.html.twig Olivero's theme implementation for a search form block. Based on Classy's
search form block template.
block--search-form-block.html.twig file core/themes/claro/templates/classy/block/block--search-form-block.html.twig Theme override for the search form block.
block--search-form-block.html.twig file core/themes/bartik/templates/block--search-form-block.html.twig Bartik's theme implementation for a search form block.
block--search-form-block.html.twig file core/themes/classy/templates/block/block--search-form-block.html.twig Theme override for the search form block.
block--search-form-block.html.twig file core/themes/starterkit_theme/templates/block/block--search-form-block.html.twig Theme override for the search form block.
block--secondary-menu--plugin-id--search-form-block.html.twig file core/themes/olivero/templates/block/block--secondary-menu--plugin-id--search-form-block.html.twig Theme implementation for a search form block in the Secondary Menu region.
block--secondary-menu.html.twig file core/themes/olivero/templates/block/block--secondary-menu.html.twig Olivero's override for the User Account Menu navigation block.
block--system-branding-block.html.twig file core/themes/seven/templates/classy/block/block--system-branding-block.html.twig Theme override for a branding block.
block--system-branding-block.html.twig file core/themes/stable9/templates/block/block--system-branding-block.html.twig Theme override for a branding block.
block--system-branding-block.html.twig file core/profiles/demo_umami/themes/umami/templates/components/branding/block--system-branding-block.html.twig Theme override for a branding block.

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