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::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 Instantiates a new instance of the implementing class using autowiring.
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
AutowireBlock class core/modules/system/tests/modules/autowire_test/src/Plugin/Block/AutowireBlock.php Provides a block that can be autowired.
AutowireBlock.php file core/modules/system/tests/modules/autowire_test/src/Plugin/Block/AutowireBlock.php
AutowireBlock::build function core/modules/system/tests/modules/autowire_test/src/Plugin/Block/AutowireBlock.php Builds and returns the renderable array for this block plugin.
AutowireBlock::getLock function core/modules/system/tests/modules/autowire_test/src/Plugin/Block/AutowireBlock.php Gets the lock service.
AutowireBlock::__construct function core/modules/system/tests/modules/autowire_test/src/Plugin/Block/AutowireBlock.php
AutowireBlockTest class core/tests/Drupal/KernelTests/Core/Block/AutowireBlockTest.php Tests that blocks can be autowired.
AutowireBlockTest.php file core/tests/Drupal/KernelTests/Core/Block/AutowireBlockTest.php
AutowireBlockTest::$modules property core/tests/Drupal/KernelTests/Core/Block/AutowireBlockTest.php Modules to install.
AutowireBlockTest::testAutowireBlock function core/tests/Drupal/KernelTests/Core/Block/AutowireBlockTest.php Tests blocks with autowiring are created successfully.
AutowireBlockTest::testAutowireError function core/tests/Drupal/KernelTests/Core/Block/AutowireBlockTest.php Tests that autowire errors are handled correctly.
AutowireErrorBlock class core/modules/system/tests/modules/autowire_test/src/Plugin/Block/AutowireErrorBlock.php Provides a block that cannot be autowired.
AutowireErrorBlock.php file core/modules/system/tests/modules/autowire_test/src/Plugin/Block/AutowireErrorBlock.php
AutowireErrorBlock::build function core/modules/system/tests/modules/autowire_test/src/Plugin/Block/AutowireErrorBlock.php Builds and returns the renderable array for this block plugin.
AutowireErrorBlock::__construct function core/modules/system/tests/modules/autowire_test/src/Plugin/Block/AutowireErrorBlock.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/Annotation/Block.php Defines a Block annotation object.
Block class core/lib/Drupal/Core/Block/Attribute/Block.php The Block attribute.
Block class core/modules/views/src/Plugin/views/display/Block.php The plugin that handles a block.
Block class core/modules/block/src/Plugin/migrate/source/Block.php Drupal 6/7 block source from database.
Block class core/modules/block/src/Entity/Block.php Defines a Block configuration entity class.
Block API group core/modules/block/block.api.php Information about the classes and interfaces that make up the Block API.
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--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/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/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.)

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