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/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
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
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.
InlineBlockTest::testDeletion function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php Tests that entity blocks deleted correctly.
InlineBlockTest::testEditInlineBlocksPermission function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php Tests 'create and edit custom blocks' permission to edit an existing block.
InlineBlockTest::testInlineBlockParentRevert function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php Test editing inline blocks when the parent has been reverted.
InlineBlockTest::testInlineBlocks function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php Tests adding and editing of inline blocks.
InlineBlockTest::testInlineBlocksRevisioning function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php Tests entity blocks revisioning.
InlineBlockTest::testInlineBlocksRevisioningIntegrity function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php Tests entity blocks revisioning.
InlineBlockTest::testNoLayoutSave function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php Tests adding a new entity block and then not saving the layout.
InlineBlockTestBase class core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTestBase.php Base class for testing inline blocks.
InlineBlockTestBase.php file core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTestBase.php
InlineBlockTestBase::$blockStorage property core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTestBase.php The block storage.
InlineBlockTestBase::$modules property core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTestBase.php Modules to install.
InlineBlockTestBase::addInlineBlockToLayout function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTestBase.php Adds an entity block to the layout.
InlineBlockTestBase::assertDialogClosedAndTextVisible function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTestBase.php Asserts that the dialog closes and the new text appears on the main canvas.
InlineBlockTestBase::assertSaveLayout function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTestBase.php Saves a layout and asserts the message is correct.
InlineBlockTestBase::configureInlineBlock function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTestBase.php Configures an inline block in the Layout Builder.

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