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
Title Object type File name Summary
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--block-content--view-type--basic--full.html.twig file core/modules/block_content/tests/modules/block_content_theme_suggestions_test/templates/block--block-content--view-type--basic--full.html.twig {{ label }}

<h1>I am a block content template for a specific bundle and view mode!</h1>
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--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/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/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/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/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--local-tasks-block.html.twig file core/themes/claro/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/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.
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/themes/claro/templates/classy/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--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.
block--system-branding-block.html.twig file core/themes/olivero/templates/block/block--system-branding-block.html.twig Olivero's theme implementation for a branding block.
block--system-branding-block.html.twig file core/themes/starterkit_theme/templates/block/block--system-branding-block.html.twig Theme override for a branding block.
block--system-branding-block.html.twig file core/themes/claro/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/modules/system/templates/block--system-branding-block.html.twig Default theme implementation for a branding block.
block--system-menu-block--footer.html.twig file core/profiles/demo_umami/themes/umami/templates/components/navigation/block--system-menu-block--footer.html.twig Theme override for Menu footer block.
block--system-menu-block.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/block/block--system-menu-block.html.twig Theme override for a menu block.
block--system-menu-block.html.twig file core/themes/olivero/templates/block/block--system-menu-block.html.twig Olivero's override for the main menu navigation block.

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