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/Annotation/Block.php Defines a Block annotation object.
Block class core/lib/Drupal/Core/Block/Attribute/Block.php The Block attribute.

All search results

Title Object type File name Summary
layout_builder_field_block_test.services.yml file core/modules/layout_builder/tests/modules/layout_builder_field_block_test/layout_builder_field_block_test.services.yml core/modules/layout_builder/tests/modules/layout_builder_field_block_test/layout_builder_field_block_test.services.yml
layout_builder_form_block_test.info.yml file core/modules/layout_builder/tests/modules/layout_builder_form_block_test/layout_builder_form_block_test.info.yml core/modules/layout_builder/tests/modules/layout_builder_form_block_test/layout_builder_form_block_test.info.yml
LocalActionsBlock class core/lib/Drupal/Core/Menu/Plugin/Block/LocalActionsBlock.php Provides a block to display the local actions.
LocalActionsBlock.php file core/lib/Drupal/Core/Menu/Plugin/Block/LocalActionsBlock.php
LocalActionsBlock::$localActionManager property core/lib/Drupal/Core/Menu/Plugin/Block/LocalActionsBlock.php The local action manager.
LocalActionsBlock::$routeMatch property core/lib/Drupal/Core/Menu/Plugin/Block/LocalActionsBlock.php The route match.
LocalActionsBlock::build function core/lib/Drupal/Core/Menu/Plugin/Block/LocalActionsBlock.php Builds and returns the renderable array for this block plugin.
LocalActionsBlock::create function core/lib/Drupal/Core/Menu/Plugin/Block/LocalActionsBlock.php Creates an instance of the plugin.
LocalActionsBlock::createPlaceholder function core/lib/Drupal/Core/Menu/Plugin/Block/LocalActionsBlock.php
LocalActionsBlock::defaultConfiguration function core/lib/Drupal/Core/Menu/Plugin/Block/LocalActionsBlock.php
LocalActionsBlock::__construct function core/lib/Drupal/Core/Menu/Plugin/Block/LocalActionsBlock.php Creates a LocalActionsBlock instance.
LocalActionTest::testAddContentBlockLink function core/modules/block_content/tests/src/Functional/LocalActionTest.php Tests the block_content_add_action link.
LocalTasksBlock class core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php Provides a "Tabs" block to display the local tasks.
LocalTasksBlock.php file core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php
LocalTasksBlock::$localTaskManager property core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php The local task manager.
LocalTasksBlock::$routeMatch property core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php The route match.
LocalTasksBlock::blockForm function core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php
LocalTasksBlock::blockSubmit function core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php
LocalTasksBlock::build function core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php Builds and returns the renderable array for this block plugin.
LocalTasksBlock::create function core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php Creates an instance of the plugin.
LocalTasksBlock::createPlaceholder function core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php
LocalTasksBlock::defaultConfiguration function core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php
LocalTasksBlock::__construct function core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php Creates a LocalTasksBlock instance.
LocalTasksTest::testLocalTaskBlock function core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php Tests that local task blocks are configurable to show a specific level.
LocalTasksTest::testLocalTaskBlockCache function core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php Tests that local tasks blocks cache is invalidated correctly.
LocalTasksTest::testLocalTaskBlockUrl function core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php Tests local task block URLs for entities with path aliases.
MainContentBlockPluginInterface interface core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php The interface for "main page content" blocks.
MainContentBlockPluginInterface.php file core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php
MainContentBlockPluginInterface::setMainContent function core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php Sets the main content render array.
MenuAccessTest::testMenuBlockLinksAccessCheck function core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php Tests menu link for route with access check.
MenuAccessTest::testSystemAdminMenuBlockAccessCheck function core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php Test routes implementing _access_admin_menu_block_page.
MenuBlockDepthTest class core/modules/block/tests/src/Functional/Update/MenuBlockDepthTest.php Tests update path for the `depth` setting of menu blocks.
MenuBlockDepthTest.php file core/modules/block/tests/src/Functional/Update/MenuBlockDepthTest.php
MenuBlockDepthTest::setDatabaseDumpFiles function core/modules/block/tests/src/Functional/Update/MenuBlockDepthTest.php Set database dump files to be used.
MenuBlockDepthTest::testUpdate function core/modules/block/tests/src/Functional/Update/MenuBlockDepthTest.php Tests that menu blocks with a `depth` setting of 0 are changed to NULL.
MenuBlockTest class core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php Tests SystemMenuBlock.
MenuBlockTest.php file core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php
MenuBlockTest::$menu property core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php The menu for testing.
MenuBlockTest::$modules property core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php Modules to install.
MenuBlockTest::setUp function core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php
MenuBlockTest::testOperationLinks function core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php Tests the editing links for SystemMenuBlock.
MenuCacheTagsTest::testMenuBlock function core/modules/menu_ui/tests/src/Functional/MenuCacheTagsTest.php Tests cache tags presence and invalidation of the Menu entity.
MenuUiHooks::blockViewSystemMenuBlockAlter function core/modules/menu_ui/src/Hook/MenuUiHooks.php Implements hook_block_view_BASE_BLOCK_ID_alter() for 'system_menu_block'.
MenuUiJavascriptTest::testBlockContextualLinks function core/modules/menu_ui/tests/src/FunctionalJavascript/MenuUiJavascriptTest.php Tests the contextual links on a menu block.
MenuUiTest::$blockPlacements property core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Array of placed menu blocks keyed by block ID.
MenuUiTest::doTestMenuBlock function core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Tests menu block settings.
MenuUiThemeHooks::preprocessBlock function core/modules/menu_ui/src/Hook/MenuUiThemeHooks.php Implements hook_preprocess_HOOK() for block templates.
MessagesBlockPluginInterface interface core/lib/Drupal/Core/Block/MessagesBlockPluginInterface.php The interface for "messages" (#type => status_messages) blocks.
MessagesBlockPluginInterface.php file core/lib/Drupal/Core/Block/MessagesBlockPluginInterface.php
MigrateBlockContentBodyFieldTest class core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentBodyFieldTest.php Attaches a body field to the block type.

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