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
AnnounceBlock.php file core/modules/announcements_feed/src/Plugin/Block/AnnounceBlock.php
AnnounceBlock::blockAccess function core/modules/announcements_feed/src/Plugin/Block/AnnounceBlock.php Indicates whether the block should be shown.
AnnounceBlock::build function core/modules/announcements_feed/src/Plugin/Block/AnnounceBlock.php Builds and returns the renderable array for this block plugin.
AnnounceBlock::create function core/modules/announcements_feed/src/Plugin/Block/AnnounceBlock.php Creates an instance of the plugin.
AnnounceBlock::__construct function core/modules/announcements_feed/src/Plugin/Block/AnnounceBlock.php Constructs a new AnnouncementsFeedBlock instance.
AnnounceBlockTest class core/modules/announcements_feed/tests/src/FunctionalJavascript/AnnounceBlockTest.php Test the announcement block test visibility.
AnnounceBlockTest.php file core/modules/announcements_feed/tests/src/FunctionalJavascript/AnnounceBlockTest.php
AnnounceBlockTest::$announceBlock property core/modules/announcements_feed/tests/src/FunctionalJavascript/AnnounceBlockTest.php The announce block instance.
AnnounceBlockTest::$defaultTheme property core/modules/announcements_feed/tests/src/FunctionalJavascript/AnnounceBlockTest.php The theme to install as the default for testing.
AnnounceBlockTest::$modules property core/modules/announcements_feed/tests/src/FunctionalJavascript/AnnounceBlockTest.php Modules to install.
AnnounceBlockTest::setUp function core/modules/announcements_feed/tests/src/FunctionalJavascript/AnnounceBlockTest.php
AnnounceBlockTest::testAnnounceWithoutPermission function core/modules/announcements_feed/tests/src/FunctionalJavascript/AnnounceBlockTest.php Testing announce feed block visibility.
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.
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
BigPipeInterfacePreviewThemeSuggestionsTest::$block property core/modules/big_pipe/tests/src/Kernel/BigPipeInterfacePreviewThemeSuggestionsTest.php The block being tested.
BigPipeInterfacePreviewThemeSuggestionsTest::$blockViewBuilder property core/modules/big_pipe/tests/src/Kernel/BigPipeInterfacePreviewThemeSuggestionsTest.php The block view builder.
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.
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/modules/views/src/Plugin/views/display/Block.php The plugin that handles a block.
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--disclaimer-block.html.twig file core/profiles/demo_umami/themes/umami/templates/components/disclaimer/block--bundle--disclaimer-block.html.twig Theme override for a disclaimer 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/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/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/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/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/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/claro/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--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--navigation.html.twig file core/modules/navigation/templates/block--navigation.html.twig Default theme implementation to display a navigation_block.
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/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/olivero/templates/block/block--search-form-block.html.twig Olivero's theme implementation for a 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--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--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.

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