| BlockContentController::$blockContentTypeStorage |
property |
core/modules/block_content/src/Controller/BlockContentController.php |
The content block type storage. |
| BlockContentController::$themeHandler |
property |
core/modules/block_content/src/Controller/BlockContentController.php |
The theme handler. |
| BlockContentController::addForm |
function |
core/modules/block_content/src/Controller/BlockContentController.php |
Presents the content block creation form. |
| BlockContentController::create |
function |
core/modules/block_content/src/Controller/BlockContentController.php |
Instantiates a new instance of the implementing class using autowiring. |
| BlockContentController::getAddFormTitle |
function |
core/modules/block_content/src/Controller/BlockContentController.php |
Provides the page title for this controller. |
| BlockContentController::__construct |
function |
core/modules/block_content/src/Controller/BlockContentController.php |
Constructs a BlockContent object. |
| BlockContentCreationTest |
class |
core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php |
Create a block and test saving it. |
| BlockContentCreationTest.php |
file |
core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php |
|
| BlockContentCreationTest::$defaultTheme |
property |
core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php |
The theme to install as the default for testing. |
| BlockContentCreationTest::$modules |
property |
core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php |
Modules to install. |
| BlockContentCreationTest::$permissions |
property |
core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php |
Permissions to grant admin user. |
| BlockContentCreationTest::getBlockByLabel |
function |
core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php |
Load a block based on the label. |
| BlockContentCreationTest::setUp |
function |
core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php |
Sets the test up. |
| BlockContentCreationTest::testBlockContentCreation |
function |
core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php |
Creates a "Basic block" block and verifies its consistency in the database. |
| BlockContentCreationTest::testBlockContentCreationMultipleViewModes |
function |
core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php |
Creates a "Basic page" block with multiple view modes. |
| BlockContentCreationTest::testBlockContentFormSubmitHandlers |
function |
core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php |
Tests the redirect workflow of creating a block_content and block. |
| BlockContentCreationTest::testBlockDelete |
function |
core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php |
Tests deleting a block. |
| BlockContentCreationTest::testConfigDependencies |
function |
core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php |
Tests placed content blocks create a dependency in the block placement. |
| BlockContentCreationTest::testDefaultBlockContentCreation |
function |
core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php |
Create a default content block. |
| BlockContentCreationTest::testFailedBlockCreation |
function |
core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php |
Verifies that a transaction rolls back the failed creation. |
| BlockContentCreationTrait |
trait |
core/modules/block_content/tests/src/Traits/BlockContentCreationTrait.php |
Provides methods for creating block_content entities and types. |
| BlockContentCreationTrait.php |
file |
core/modules/block_content/tests/src/Traits/BlockContentCreationTrait.php |
|
| BlockContentCreationTrait::createBlockContent |
function |
core/modules/block_content/tests/src/Traits/BlockContentCreationTrait.php |
Creates a content block. |
| BlockContentCreationTrait::createBlockContentType |
function |
core/modules/block_content/tests/src/Traits/BlockContentCreationTrait.php |
Creates a block type (bundle). |
| BlockContentDeleteForm |
class |
core/modules/block_content/src/Form/BlockContentDeleteForm.php |
Provides a confirmation form for deleting a content block entity. |
| BlockContentDeleteForm.php |
file |
core/modules/block_content/src/Form/BlockContentDeleteForm.php |
|
| BlockContentDeleteForm::getDescription |
function |
core/modules/block_content/src/Form/BlockContentDeleteForm.php |
Returns additional text to display as a description. |
| BlockContentDeletionTest |
class |
core/modules/block_content/tests/src/Kernel/BlockContentDeletionTest.php |
Tests that deleting a block clears the cached definitions. |
| BlockContentDeletionTest.php |
file |
core/modules/block_content/tests/src/Kernel/BlockContentDeletionTest.php |
|
| BlockContentDeletionTest::$modules |
property |
core/modules/block_content/tests/src/Kernel/BlockContentDeletionTest.php |
Modules to install. |
| BlockContentDeletionTest::setUp |
function |
core/modules/block_content/tests/src/Kernel/BlockContentDeletionTest.php |
|
| BlockContentDeletionTest::testDeletingBlockContentShouldClearPluginCache |
function |
core/modules/block_content/tests/src/Kernel/BlockContentDeletionTest.php |
Tests deleting a block_content updates the discovered block plugin. |
| BlockContentDeriverTest |
class |
core/modules/block_content/tests/src/Kernel/BlockContentDeriverTest.php |
Tests block content plugin deriver. |
| BlockContentDeriverTest.php |
file |
core/modules/block_content/tests/src/Kernel/BlockContentDeriverTest.php |
|
| BlockContentDeriverTest::$baseDefinition |
property |
core/modules/block_content/tests/src/Kernel/BlockContentDeriverTest.php |
The definition array of the base plugin. |
| BlockContentDeriverTest::$blockContentDerivative |
property |
core/modules/block_content/tests/src/Kernel/BlockContentDeriverTest.php |
The tested block content derivative class. |
| BlockContentDeriverTest::$blockContentStorage |
property |
core/modules/block_content/tests/src/Kernel/BlockContentDeriverTest.php |
The block content storage. |
| BlockContentDeriverTest::$modules |
property |
core/modules/block_content/tests/src/Kernel/BlockContentDeriverTest.php |
Modules to install. |
| BlockContentDeriverTest::setUp |
function |
core/modules/block_content/tests/src/Kernel/BlockContentDeriverTest.php |
|
| BlockContentDeriverTest::testGetDerivativeDefinitionsAdminLabels |
function |
core/modules/block_content/tests/src/Kernel/BlockContentDeriverTest.php |
Tests the admin labels of derivative definitions. |
| BlockContentDeriverTest::testReusableBlocksOnlyAreDerived |
function |
core/modules/block_content/tests/src/Kernel/BlockContentDeriverTest.php |
Tests that only reusable blocks are derived. |
| BlockContentEntityChangedConstraint |
class |
core/modules/block_content/src/Plugin/Validation/Constraint/BlockContentEntityChangedConstraint.php |
Validation constraint for the block content entity changed timestamp. |
| BlockContentEntityChangedConstraint.php |
file |
core/modules/block_content/src/Plugin/Validation/Constraint/BlockContentEntityChangedConstraint.php |
|
| BlockContentEntityChangedConstraintValidator |
class |
core/modules/block_content/src/Plugin/Validation/Constraint/BlockContentEntityChangedConstraintValidator.php |
Validates the BlockContentEntityChanged constraint. |
| BlockContentEntityChangedConstraintValidator.php |
file |
core/modules/block_content/src/Plugin/Validation/Constraint/BlockContentEntityChangedConstraintValidator.php |
|
| BlockContentEntityChangedConstraintValidator::validate |
function |
core/modules/block_content/src/Plugin/Validation/Constraint/BlockContentEntityChangedConstraintValidator.php |
|
| BlockContentEntityReferenceSelectionTest |
class |
core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php |
Tests EntityReference selection handlers don't return non-reusable blocks. |
| BlockContentEntityReferenceSelectionTest.php |
file |
core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php |
|
| BlockContentEntityReferenceSelectionTest::$blockNonReusable |
property |
core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php |
Test non-reusable block. |
| BlockContentEntityReferenceSelectionTest::$blockReusable |
property |
core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php |
Test reusable block. |