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
ForumBlockTest::$defaultTheme property core/modules/forum/tests/src/Functional/ForumBlockTest.php The theme to install as the default for testing.
ForumBlockTest::$modules property core/modules/forum/tests/src/Functional/ForumBlockTest.php Modules to enable.
ForumBlockTest::createForumTopics function core/modules/forum/tests/src/Functional/ForumBlockTest.php Creates a forum topic.
ForumBlockTest::setUp function core/modules/forum/tests/src/Functional/ForumBlockTest.php
ForumBlockTest::testActiveForumTopicsBlock function core/modules/forum/tests/src/Functional/ForumBlockTest.php Tests the "Active forum topics" block.
ForumBlockTest::testNewForumTopicsBlock function core/modules/forum/tests/src/Functional/ForumBlockTest.php Tests the "New forum topics" block.
forum_preprocess_block function core/modules/forum/forum.module Implements hook_preprocess_HOOK() for block templates.
HelpBlock class core/modules/help/src/Plugin/Block/HelpBlock.php Provides a 'Help' block.
HelpBlock.php file core/modules/help/src/Plugin/Block/HelpBlock.php
HelpBlock::$moduleHandler property core/modules/help/src/Plugin/Block/HelpBlock.php The module handler.
HelpBlock::$request property core/modules/help/src/Plugin/Block/HelpBlock.php The current request.
HelpBlock::$routeMatch property core/modules/help/src/Plugin/Block/HelpBlock.php The current route match.
HelpBlock::build function core/modules/help/src/Plugin/Block/HelpBlock.php Builds and returns the renderable array for this block plugin.
HelpBlock::create function core/modules/help/src/Plugin/Block/HelpBlock.php Creates an instance of the plugin.
HelpBlock::getCacheContexts function core/modules/help/src/Plugin/Block/HelpBlock.php
HelpBlock::__construct function core/modules/help/src/Plugin/Block/HelpBlock.php Creates a HelpBlock instance.
HelpBlockTest class core/modules/help/tests/src/Functional/HelpBlockTest.php Tests display of help block.
HelpBlockTest.php file core/modules/help/tests/src/Functional/HelpBlockTest.php
HelpBlockTest::$defaultTheme property core/modules/help/tests/src/Functional/HelpBlockTest.php The theme to install as the default for testing.
HelpBlockTest::$helpBlock property core/modules/help/tests/src/Functional/HelpBlockTest.php The help block instance.
HelpBlockTest::$modules property core/modules/help/tests/src/Functional/HelpBlockTest.php Modules to install.
HelpBlockTest::setUp function core/modules/help/tests/src/Functional/HelpBlockTest.php
HelpBlockTest::testHelp function core/modules/help/tests/src/Functional/HelpBlockTest.php Logs in users, tests help pages.
HelpHooks::blockViewHelpBlockAlter function core/modules/help/src/Hook/HelpHooks.php Implements hook_block_view_BASE_BLOCK_ID_alter().
help_preprocess_block function core/modules/help/help.module Implements hook_preprocess_HOOK() for block templates.
hook_block_access function core/modules/block/block.api.php Control access to a block instance.
hook_block_alter function core/modules/block/block.api.php Allow modules to alter the block plugin definitions.
hook_block_build_alter function core/modules/block/block.api.php Alter the result of \Drupal\Core\Block\BlockBase::build().
hook_block_build_BASE_BLOCK_ID_alter function core/modules/block/block.api.php Provide a block plugin specific block_build alteration.
hook_block_view_alter function core/modules/block/block.api.php Alter the result of \Drupal\Core\Block\BlockBase::build().
hook_block_view_BASE_BLOCK_ID_alter function core/modules/block/block.api.php Provide a block plugin specific block_view alteration.
HtmlResponseAttachmentsTest::testRenderCachedBlock function core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php Tests caching of ['#attached'].
HtmlToTextTest::testDrupalHtmlToTextBlockTagToNewline function core/modules/system/tests/src/Unit/Mail/HtmlToTextTest.php Tests the conversion of block-level HTML tags to plaintext with newlines.
InlineBlock class core/modules/layout_builder/src/Plugin/Block/InlineBlock.php Defines an inline block plugin type.
InlineBlock.php file core/modules/layout_builder/src/Plugin/Block/InlineBlock.php
InlineBlock::$blockContent property core/modules/layout_builder/src/Plugin/Block/InlineBlock.php The block content entity.
InlineBlock::$currentUser property core/modules/layout_builder/src/Plugin/Block/InlineBlock.php The current user.
InlineBlock::$entityDisplayRepository property core/modules/layout_builder/src/Plugin/Block/InlineBlock.php The entity display repository.
InlineBlock::$entityTypeManager property core/modules/layout_builder/src/Plugin/Block/InlineBlock.php The entity type manager.
InlineBlock::$isNew property core/modules/layout_builder/src/Plugin/Block/InlineBlock.php Whether a new block is being created.
InlineBlock::blockAccess function core/modules/layout_builder/src/Plugin/Block/InlineBlock.php Indicates whether the block should be shown.
InlineBlock::blockForm function core/modules/layout_builder/src/Plugin/Block/InlineBlock.php
InlineBlock::blockSubmit function core/modules/layout_builder/src/Plugin/Block/InlineBlock.php
InlineBlock::blockValidate function core/modules/layout_builder/src/Plugin/Block/InlineBlock.php
InlineBlock::build function core/modules/layout_builder/src/Plugin/Block/InlineBlock.php Builds and returns the renderable array for this block plugin.
InlineBlock::buildConfigurationForm function core/modules/layout_builder/src/Plugin/Block/InlineBlock.php Form constructor.
InlineBlock::create function core/modules/layout_builder/src/Plugin/Block/InlineBlock.php Creates an instance of the plugin.
InlineBlock::defaultConfiguration function core/modules/layout_builder/src/Plugin/Block/InlineBlock.php
InlineBlock::getEntity function core/modules/layout_builder/src/Plugin/Block/InlineBlock.php Loads or creates the block content entity of the block.
InlineBlock::processBlockForm function core/modules/layout_builder/src/Plugin/Block/InlineBlock.php Process callback to insert a Content Block form.

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