Search for block

  1. Search 7.x for block
  2. Search 8.9.x for block
  3. Search 10.3.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/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.

All search results

Title Object type File name Summary
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/Functional/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 Custom Block form.
InlineBlock::saveBlockContent function core/modules/layout_builder/src/Plugin/Block/InlineBlock.php Saves the block_content entity for this plugin.
InlineBlock::__construct function core/modules/layout_builder/src/Plugin/Block/InlineBlock.php Constructs a new InlineBlock.
InlineBlockDeriver class core/modules/layout_builder/src/Plugin/Derivative/InlineBlockDeriver.php Provides inline block plugin definitions for all custom block types.
InlineBlockDeriver.php file core/modules/layout_builder/src/Plugin/Derivative/InlineBlockDeriver.php
InlineBlockDeriver::$entityTypeManager property core/modules/layout_builder/src/Plugin/Derivative/InlineBlockDeriver.php The entity type manager.
InlineBlockDeriver::create function core/modules/layout_builder/src/Plugin/Derivative/InlineBlockDeriver.php Creates a new class instance.
InlineBlockDeriver::getDerivativeDefinitions function core/modules/layout_builder/src/Plugin/Derivative/InlineBlockDeriver.php Gets the definition of all derivatives of a base plugin.
InlineBlockDeriver::__construct function core/modules/layout_builder/src/Plugin/Derivative/InlineBlockDeriver.php Constructs a BlockContentDeriver object.
InlineBlockEntityOperations class core/modules/layout_builder/src/InlineBlockEntityOperations.php Defines a class for reacting to entity events related to Inline Blocks.
InlineBlockEntityOperations.php file core/modules/layout_builder/src/InlineBlockEntityOperations.php
InlineBlockEntityOperations::$blockContentStorage property core/modules/layout_builder/src/InlineBlockEntityOperations.php The block content storage.
InlineBlockEntityOperations::$entityTypeManager property core/modules/layout_builder/src/InlineBlockEntityOperations.php The entity type manager.
InlineBlockEntityOperations::$usage property core/modules/layout_builder/src/InlineBlockEntityOperations.php Inline block usage tracking service.
InlineBlockEntityOperations::create function core/modules/layout_builder/src/InlineBlockEntityOperations.php Instantiates a new instance of this class.
InlineBlockEntityOperations::deleteBlocksAndUsage function core/modules/layout_builder/src/InlineBlockEntityOperations.php Delete the inline blocks and the usage records.
InlineBlockEntityOperations::getBlockIdsForRevisionIds function core/modules/layout_builder/src/InlineBlockEntityOperations.php Gets blocks IDs for an array of revision IDs.
InlineBlockEntityOperations::getPluginBlockId function core/modules/layout_builder/src/InlineBlockEntityOperations.php Gets a block ID for an inline block plugin.
InlineBlockEntityOperations::getRemovedBlockIds function core/modules/layout_builder/src/InlineBlockEntityOperations.php Gets the IDs of the inline blocks that were removed.
InlineBlockEntityOperations::handleEntityDelete function core/modules/layout_builder/src/InlineBlockEntityOperations.php Handles entity tracking on deleting a parent entity.
InlineBlockEntityOperations::handlePreSave function core/modules/layout_builder/src/InlineBlockEntityOperations.php Handles saving a parent entity.
InlineBlockEntityOperations::removeUnused function core/modules/layout_builder/src/InlineBlockEntityOperations.php Removes unused inline blocks.
InlineBlockEntityOperations::removeUnusedForEntityOnSave function core/modules/layout_builder/src/InlineBlockEntityOperations.php Remove all unused inline blocks on save.
InlineBlockEntityOperations::saveInlineBlockComponent function core/modules/layout_builder/src/InlineBlockEntityOperations.php Saves an inline block component.
InlineBlockEntityOperations::__construct function core/modules/layout_builder/src/InlineBlockEntityOperations.php Constructs a new EntityOperations object.
InlineBlockPrivateFilesTest class core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php Test access to private files in block fields on the Layout Builder.
InlineBlockPrivateFilesTest.php file core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php
InlineBlockPrivateFilesTest::$defaultTheme property core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php The theme to install as the default for testing.

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