| LayoutBuilderSampleEntityGenerator |
class |
core/modules/layout_builder/src/Entity/LayoutBuilderSampleEntityGenerator.php |
Generates a sample entity for use by the Layout Builder. |
| LayoutBuilderSampleEntityGenerator.php |
file |
core/modules/layout_builder/src/Entity/LayoutBuilderSampleEntityGenerator.php |
|
| LayoutBuilderSampleEntityGenerator::$entityTypeManager |
property |
core/modules/layout_builder/src/Entity/LayoutBuilderSampleEntityGenerator.php |
The entity type manager. |
| LayoutBuilderSampleEntityGenerator::$tempStoreFactory |
property |
core/modules/layout_builder/src/Entity/LayoutBuilderSampleEntityGenerator.php |
The shared tempstore factory. |
| LayoutBuilderSampleEntityGenerator::delete |
function |
core/modules/layout_builder/src/Entity/LayoutBuilderSampleEntityGenerator.php |
Deletes a sample entity for a given entity type and bundle. |
| LayoutBuilderSampleEntityGenerator::get |
function |
core/modules/layout_builder/src/Entity/LayoutBuilderSampleEntityGenerator.php |
Gets a sample entity for a given entity type and bundle. |
| LayoutBuilderSampleEntityGenerator::__construct |
function |
core/modules/layout_builder/src/Entity/LayoutBuilderSampleEntityGenerator.php |
LayoutBuilderSampleEntityGenerator constructor. |
| LayoutBuilderTest::testHtmlEntityFormControllerDecoration |
function |
core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php |
Test decorating controller.entity_form while layout_builder is installed. |
| LayoutBuilderTest::testNonBundleEntityType |
function |
core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php |
Tests the Layout Builder UI for an entity type without a bundle. |
| LayoutBuilderTest::testPreserverEntityValues |
function |
core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php |
Tests that the Layout Builder preserves entity values. |
| LayoutBuilderTranslationTest::$entity |
property |
core/modules/layout_builder/tests/src/Functional/LayoutBuilderTranslationTest.php |
The entity used for testing. |
| LayoutBuilderTranslationTest::addEntityTranslation |
function |
core/modules/layout_builder/tests/src/Functional/LayoutBuilderTranslationTest.php |
Adds an entity translation. |
| LayoutEntityDisplayInterface |
interface |
core/modules/layout_builder/src/Entity/LayoutEntityDisplayInterface.php |
Provides an interface for entity displays that have layout. |
| LayoutEntityDisplayInterface.php |
file |
core/modules/layout_builder/src/Entity/LayoutEntityDisplayInterface.php |
|
| LayoutEntityDisplayNormalizer |
class |
core/modules/layout_builder/src/Normalizer/LayoutEntityDisplayNormalizer.php |
Normalizes/denormalizes LayoutEntityDisplay objects into an array structure. |
| LayoutEntityDisplayNormalizer.php |
file |
core/modules/layout_builder/src/Normalizer/LayoutEntityDisplayNormalizer.php |
|
| LayoutEntityDisplayNormalizer::getDataWithoutInternals |
function |
core/modules/layout_builder/src/Normalizer/LayoutEntityDisplayNormalizer.php |
Gets the given data without the internal implementation details. |
| LayoutEntityDisplayNormalizer::getSupportedTypes |
function |
core/modules/layout_builder/src/Normalizer/LayoutEntityDisplayNormalizer.php |
|
| LayoutEntityHelperTrait |
trait |
core/modules/layout_builder/src/LayoutEntityHelperTrait.php |
Methods to help with entities using the layout builder. |
| LayoutEntityHelperTrait.php |
file |
core/modules/layout_builder/src/LayoutEntityHelperTrait.php |
|
| LayoutEntityHelperTrait::$sectionStorageManager |
property |
core/modules/layout_builder/src/LayoutEntityHelperTrait.php |
The section storage manager. |
| LayoutEntityHelperTrait::getEntitySections |
function |
core/modules/layout_builder/src/LayoutEntityHelperTrait.php |
Gets the sections for an entity if any. |
| LayoutEntityHelperTrait::getInlineBlockComponents |
function |
core/modules/layout_builder/src/LayoutEntityHelperTrait.php |
Gets components that have Inline Block plugins. |
| LayoutEntityHelperTrait::getInlineBlockRevisionIdsInSections |
function |
core/modules/layout_builder/src/LayoutEntityHelperTrait.php |
Gets revision IDs for layout sections. |
| LayoutEntityHelperTrait::getSectionStorageForEntity |
function |
core/modules/layout_builder/src/LayoutEntityHelperTrait.php |
Gets the section storage for an entity. |
| LayoutEntityHelperTrait::isLayoutCompatibleEntity |
function |
core/modules/layout_builder/src/LayoutEntityHelperTrait.php |
Determines if an entity can have a layout. |
| LayoutEntityHelperTrait::originalEntityUsesDefaultStorage |
function |
core/modules/layout_builder/src/LayoutEntityHelperTrait.php |
Determines if the original entity used the default section storage. |
| LayoutEntityHelperTrait::sectionStorageManager |
function |
core/modules/layout_builder/src/LayoutEntityHelperTrait.php |
Gets the section storage manager. |
| LayoutEntityHelperTraitTest |
class |
core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php |
@coversDefaultClass \Drupal\layout_builder\LayoutEntityHelperTrait[[api-linebreak]] |
| LayoutEntityHelperTraitTest |
class |
core/modules/layout_builder/tests/src/Kernel/LayoutEntityHelperTraitTest.php |
@coversDefaultClass \Drupal\layout_builder\LayoutEntityHelperTrait[[api-linebreak]] |
| LayoutEntityHelperTraitTest.php |
file |
core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php |
|
| LayoutEntityHelperTraitTest.php |
file |
core/modules/layout_builder/tests/src/Kernel/LayoutEntityHelperTraitTest.php |
|
| LayoutEntityHelperTraitTest::$modules |
property |
core/modules/layout_builder/tests/src/Kernel/LayoutEntityHelperTraitTest.php |
Modules to install. |
| LayoutEntityHelperTraitTest::providerSectionsWithInlineComponents |
function |
core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php |
Data provider method for tests that need sections with inline blocks. |
| LayoutEntityHelperTraitTest::providerTestGetSectionStorageForEntity |
function |
core/modules/layout_builder/tests/src/Kernel/LayoutEntityHelperTraitTest.php |
Data provider for testGetSectionStorageForEntity(). |
| LayoutEntityHelperTraitTest::providerTestOriginalEntityUsesDefaultStorage |
function |
core/modules/layout_builder/tests/src/Kernel/LayoutEntityHelperTraitTest.php |
Data provider for testOriginalEntityUsesDefaultStorage(). |
| LayoutEntityHelperTraitTest::setUp |
function |
core/modules/layout_builder/tests/src/Kernel/LayoutEntityHelperTraitTest.php |
|
| LayoutEntityHelperTraitTest::testGetEntitySections |
function |
core/modules/layout_builder/tests/src/Kernel/LayoutEntityHelperTraitTest.php |
@covers ::getEntitySections[[api-linebreak]] |
| LayoutEntityHelperTraitTest::testGetInlineBlockComponents |
function |
core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php |
@covers ::getInlineBlockComponents[[api-linebreak]] |
| LayoutEntityHelperTraitTest::testGetInlineBlockRevisionIdsInSections |
function |
core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php |
@covers ::getInlineBlockRevisionIdsInSections[[api-linebreak]] |
| LayoutEntityHelperTraitTest::testGetSectionStorageForEntity |
function |
core/modules/layout_builder/tests/src/Kernel/LayoutEntityHelperTraitTest.php |
@covers ::getSectionStorageForEntity[[api-linebreak]] |
| LayoutEntityHelperTraitTest::testOriginalEntityUsesDefaultStorage |
function |
core/modules/layout_builder/tests/src/Kernel/LayoutEntityHelperTraitTest.php |
@covers ::originalEntityUsesDefaultStorage[[api-linebreak]] |
| LayoutSectionItemList::getEntity |
function |
core/modules/layout_builder/src/Field/LayoutSectionItemList.php |
Gets the entity that field belongs to. |
| layout_builder.controller.entity_form |
service |
core/modules/layout_builder/layout_builder.services.yml |
Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController |
| layout_builder.sample_entity_generator |
service |
core/modules/layout_builder/layout_builder.services.yml |
Drupal\layout_builder\Entity\LayoutBuilderSampleEntityGenerator |
| layout_builder_decoration_test.controller.entity_form |
service |
core/modules/layout_builder/tests/modules/layout_builder_decoration_test/layout_builder_decoration_test.services.yml |
Drupal\layout_builder_decoration_test\Controller\LayoutBuilderDecorationTestHtmlEntityFormController |
| layout_builder_entity_build_defaults_alter |
function |
core/modules/layout_builder/layout_builder.module |
Implements hook_entity_build_defaults_alter(). |
| layout_builder_entity_delete |
function |
core/modules/layout_builder/layout_builder.module |
Implements hook_entity_delete(). |
| layout_builder_entity_form_display_alter |
function |
core/modules/layout_builder/tests/modules/layout_builder_test/layout_builder_test.module |
Implements hook_entity_form_display_alter(). |
| layout_builder_entity_presave |
function |
core/modules/layout_builder/layout_builder.module |
Implements hook_entity_presave(). |