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 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/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
AccessRouteAlterSubscriber::accessAdminMenuBlockPage function core/modules/system/src/EventSubscriber/AccessRouteAlterSubscriber.php Adds _access_admin_menu_block_page requirement to routes pointing to SystemController::systemAdminMenuBlockPage.
AjaxFormCacheTest::testBlockForms function core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxFormCacheTest.php Tests AJAX forms in blocks.
AnnounceBlock class core/modules/announcements_feed/src/Plugin/Block/AnnounceBlock.php Provides an 'Announcements Feed' block.
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.
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--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--navigation.html.twig file core/modules/navigation/templates/block--navigation.html.twig Default theme implementation to display a navigation_block.
block.block.claro_help_search.yml file core/modules/help/config/optional/block.block.claro_help_search.yml core/modules/help/config/optional/block.block.claro_help_search.yml
block.block.foobar_gorilla.yml file core/modules/block_content/tests/modules/block_content_test/config/install/block.block.foobar_gorilla.yml core/modules/block_content/tests/modules/block_content_test/config/install/block.block.foobar_gorilla.yml
block.block.olivero_book_navigation.yml file core/modules/book/config/optional/block.block.olivero_book_navigation.yml core/modules/book/config/optional/block.block.olivero_book_navigation.yml
block.configure.html.twig file core/modules/block/help_topics/block.configure.html.twig ---
label: 'Configuring a previously-placed block'
related:
- block.overview
- core.ui_accessibility
---
{% set layout_link_text %}{% trans %}Block layout{% endtrans %}{% endset %}
{% set layout_link =…
block.overview.html.twig file core/modules/block/help_topics/block.overview.html.twig ---
label: 'Managing blocks'
top_level: true
related:
- core.content_structure
---
<h2>{% trans %}What are blocks?{% endtrans %}</h2>
<p>{% trans %}Blocks are boxes of content rendered into an area, or region, of a web…
Block.php file core/lib/Drupal/Core/Block/Attribute/Block.php
Block.php file core/lib/Drupal/Core/Block/Annotation/Block.php
block.place.html.twig file core/modules/block/help_topics/block.place.html.twig ---
label: 'Placing a block'
related:
- block.overview
- block.configure
---
{% set layout_link_text %}
{% trans %}Block layout{% endtrans %}
{% endset %}
{% set layout_link = render_var(help_route_link(layout_link_text,…
Block::$admin_label property core/lib/Drupal/Core/Block/Annotation/Block.php The administrative label of the block.
Block::$category property core/lib/Drupal/Core/Block/Annotation/Block.php The category in the admin UI where the block will be listed.
Block::$context_definitions property core/lib/Drupal/Core/Block/Annotation/Block.php An array of context definitions describing the context used by the plugin.
Block::$id property core/lib/Drupal/Core/Block/Annotation/Block.php The plugin ID.
Block::__construct function core/lib/Drupal/Core/Block/Attribute/Block.php Constructs a Block attribute.
BlockBase class core/lib/Drupal/Core/Block/BlockBase.php Defines a base block implementation that most blocks plugins will extend.
BlockBase.php file core/lib/Drupal/Core/Block/BlockBase.php
BlockBase::buildConfigurationForm function core/lib/Drupal/Core/Block/BlockBase.php Form constructor.
BlockBaseTest class core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php @coversDefaultClass \Drupal\Core\Block\BlockBase[[api-linebreak]]
@group block
BlockBaseTest.php file core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php
BlockBaseTest::providerTestGetMachineNameSuggestion function core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php Provides data for testGetMachineNameSuggestion().
BlockBaseTest::testGetMachineNameSuggestion function core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php Tests the machine name suggestion.
BlockContentPermissions class core/modules/block_content/src/BlockContentPermissions.php Provide dynamic permissions for blocks of different types.
BlockContentPermissions.php file core/modules/block_content/src/BlockContentPermissions.php
BlockContentPermissions::blockTypePermissions function core/modules/block_content/src/BlockContentPermissions.php Build permissions for each block type.
BlockContentPermissions::buildPermissions function core/modules/block_content/src/BlockContentPermissions.php Return all the permissions available for a block type.
BlockContentPermissions::create function core/modules/block_content/src/BlockContentPermissions.php Instantiates a new instance of this class.
BlockContentPermissions::__construct function core/modules/block_content/src/BlockContentPermissions.php Constructs a BlockContentPermissions instance.
BlockContentPermissionsTest class core/modules/block_content/tests/src/Kernel/BlockContentPermissionsTest.php Tests the permissions of content blocks.
BlockContentPermissionsTest.php file core/modules/block_content/tests/src/Kernel/BlockContentPermissionsTest.php
BlockContentPermissionsTest::$modules property core/modules/block_content/tests/src/Kernel/BlockContentPermissionsTest.php Modules to install.

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