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
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 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::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.
InlineBlockEntityOperationsTest class core/modules/layout_builder/tests/src/Unit/InlineBlockEntityOperationsTest.php @coversDefaultClass \Drupal\layout_builder\InlineBlockEntityOperations[[api-linebreak]]
InlineBlockEntityOperationsTest.php file core/modules/layout_builder/tests/src/Unit/InlineBlockEntityOperationsTest.php
InlineBlockEntityOperationsTest::testPreSaveWithSyncingEntity function core/modules/layout_builder/tests/src/Unit/InlineBlockEntityOperationsTest.php Tests calling handlePreSave() with an entity that is syncing.
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.
InlineBlockPrivateFilesTest::$fileSystem property core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php The file system service.
InlineBlockPrivateFilesTest::$modules property core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php Modules to install.
InlineBlockPrivateFilesTest::addInlineFileBlockToLayout function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php Adds an entity block with a file.
InlineBlockPrivateFilesTest::attachFileToBlockForm function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php Attaches a file to the block edit form.
InlineBlockPrivateFilesTest::createNewNodeRevision function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php Create a new revision of the node.
InlineBlockPrivateFilesTest::createPrivateFile function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php Creates a private file.
InlineBlockPrivateFilesTest::getFileHrefAccessibleOnNode function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php Returns the href of a file, asserting it is accessible on the page.
InlineBlockPrivateFilesTest::getFileSecret function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php Gets the text secret for a file.
InlineBlockPrivateFilesTest::replaceFileInBlock function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php Replaces the file in the block with another one.
InlineBlockPrivateFilesTest::setUp function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php
InlineBlockPrivateFilesTest::testPrivateFiles function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php Tests access to private files added to inline blocks in the layout builder.
InlineBlockTest class core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php Tests that the inline block feature works correctly.
InlineBlockTest.php file core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php
InlineBlockTest::$defaultTheme property core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php The theme to install as the default for testing.
InlineBlockTest::$modules property core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php Modules to install.
InlineBlockTest::assertBlockRevisionCountByTitle function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php Assert the number of block content revisions by the block title.
InlineBlockTest::assertNodeRevisionContent function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php Assert the contents of a node revision.
InlineBlockTest::layoutNoSaveProvider function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php Provides test data for ::testNoLayoutSave().
InlineBlockTest::testAccess function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php Tests access to the block edit form of inline blocks.
InlineBlockTest::testAddInlineBlocksPermission function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php Tests the 'create and edit content blocks' permission to add a new block.
InlineBlockTest::testAddWorkFlow function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php Tests the workflow for adding an inline block depending on number of types.

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