| 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 |
Instantiates a new instance of the implementing class using autowiring. |
| 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. |
| 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 |
Tests 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. |