| ConfigEntityUpdater |
class |
core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php |
A utility class to make updating configuration entities simple. |
| ConfigEntityUpdater.php |
file |
core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php |
|
| ConfigEntityUpdater::$batchSize |
property |
core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php |
The number of entities to process in each batch. |
| ConfigEntityUpdater::$entityTypeManager |
property |
core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php |
The entity type manager. |
| ConfigEntityUpdater::create |
function |
core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php |
Instantiates a new instance of this class. |
| ConfigEntityUpdater::doOne |
function |
core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php |
Apply the callback an entity and save it if the callback makes changes. |
| ConfigEntityUpdater::SANDBOX_KEY |
constant |
core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php |
The key used to store information in the update sandbox. |
| ConfigEntityUpdater::update |
function |
core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php |
Updates configuration entities as part of a Drupal update. |
| ConfigEntityUpdater::__construct |
function |
core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php |
ConfigEntityUpdater constructor. |
| ConfigEntityUpdaterTest |
class |
core/tests/Drupal/KernelTests/Core/Config/Entity/ConfigEntityUpdaterTest.php |
Tests \Drupal\Core\Config\Entity\ConfigEntityUpdater. |
| ConfigEntityUpdaterTest.php |
file |
core/tests/Drupal/KernelTests/Core/Config/Entity/ConfigEntityUpdaterTest.php |
|
| ConfigEntityUpdaterTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Config/Entity/ConfigEntityUpdaterTest.php |
Modules to install. |
| ConfigEntityUpdaterTest::testUpdate |
function |
core/tests/Drupal/KernelTests/Core/Config/Entity/ConfigEntityUpdaterTest.php |
Tests update. |
| ConfigEntityUpdaterTest::testUpdateDefaultCallback |
function |
core/tests/Drupal/KernelTests/Core/Config/Entity/ConfigEntityUpdaterTest.php |
Tests update default callback. |
| ConfigEntityUpdaterTest::testUpdateException |
function |
core/tests/Drupal/KernelTests/Core/Config/Entity/ConfigEntityUpdaterTest.php |
Tests update exception. |
| ConfigEntityUpdaterTest::testUpdateOncePerUpdateException |
function |
core/tests/Drupal/KernelTests/Core/Config/Entity/ConfigEntityUpdaterTest.php |
Tests update once per update exception. |
| ConfigEntityValidationTestBase |
class |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
Base class for testing validation of config entities. |
| ConfigEntityValidationTestBase.php |
file |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
|
| ConfigEntityValidationTestBase::$entity |
property |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
The config entity being tested. |
| ConfigEntityValidationTestBase::$hasLabel |
property |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
Whether a config entity of this type has a label. |
| ConfigEntityValidationTestBase::$modules |
property |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
Modules to install. |
| ConfigEntityValidationTestBase::$propertiesWithOptionalValues |
property |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
The config entity properties whose values are optional (set to NULL). |
| ConfigEntityValidationTestBase::$propertiesWithRequiredKeys |
property |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
The config entity mapping properties with >=1 required keys. |
| ConfigEntityValidationTestBase::assertValidationErrors |
function |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
Asserts a set of validation errors is raised when the entity is validated. |
| ConfigEntityValidationTestBase::getMachineNameConstraints |
function |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
Returns the validation constraints applied to the entity's ID. |
| ConfigEntityValidationTestBase::getPropertiesWithOptionalValues |
function |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
Determines the config entity properties with optional values. |
| ConfigEntityValidationTestBase::getRequiredPropertyKeys |
function |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
Determines the config entity mapping properties with required keys. |
| ConfigEntityValidationTestBase::isFullyValidatable |
function |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
Whether the tested config entity type is fully validatable. |
| ConfigEntityValidationTestBase::providerConfigDependenciesValidation |
function |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
Data provider for ::testConfigDependenciesValidation(). |
| ConfigEntityValidationTestBase::providerInvalidMachineNameCharacters |
function |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
Data provider for ::testInvalidMachineNameCharacters(). |
| ConfigEntityValidationTestBase::setLabel |
function |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
Sets the label of the given config entity. |
| ConfigEntityValidationTestBase::setUp |
function |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
|
| ConfigEntityValidationTestBase::testConfigDependenciesValidation |
function |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
Tests validation of config dependencies. |
| ConfigEntityValidationTestBase::testEntityIsValid |
function |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
Ensures that the entity created in ::setUp() has no validation errors. |
| ConfigEntityValidationTestBase::testImmutableProperties |
function |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
Tests that immutable properties cannot be changed. |
| ConfigEntityValidationTestBase::testInvalidMachineNameCharacters |
function |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
Tests that the entity's ID is tested for invalid characters. |
| ConfigEntityValidationTestBase::testLabelValidation |
function |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
Tests validation of config entity's label. |
| ConfigEntityValidationTestBase::testLangcode |
function |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
Tests that the config entity's langcode is validated. |
| ConfigEntityValidationTestBase::testMachineNameLength |
function |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
Tests that the entity ID's length is validated if it is a machine name. |
| ConfigEntityValidationTestBase::testRequiredPropertyKeysMissing |
function |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
A property that is required must have a value (i.e. not NULL). |
| ConfigEntityValidationTestBase::testRequiredPropertyValuesMissing |
function |
core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php |
A property that is required must have a value (i.e. not NULL). |
| ConfigFieldDefinitionTest::$entityType |
property |
core/modules/field/tests/src/Kernel/ConfigFieldDefinitionTest.php |
|
| ConfigFieldMapper::$entity |
property |
core/modules/config_translation/src/ConfigFieldMapper.php |
Loaded entity instance to help produce the translation interface. |
| ConfigFieldMapper::setEntity |
function |
core/modules/config_translation/src/ConfigFieldMapper.php |
Sets the entity instance for this mapper. |
| ConfigFieldMapperTest::$entity |
property |
core/modules/config_translation/tests/src/Unit/ConfigFieldMapperTest.php |
The field config instance used for testing. |
| ConfigFieldMapperTest::$entityTypeManager |
property |
core/modules/config_translation/tests/src/Unit/ConfigFieldMapperTest.php |
The entity type manager used for testing. |
| ConfigFieldMapperTest::testSetEntity |
function |
core/modules/config_translation/tests/src/Unit/ConfigFieldMapperTest.php |
Tests ConfigFieldMapper::setEntity(). |
| ConfigImportRecreateTest::testRecreateEntity |
function |
core/tests/Drupal/KernelTests/Core/Config/ConfigImportRecreateTest.php |
Tests re-creating a config entity with the same name but different UUID. |
| ConfigImportSubscriber::$entityTypeManager |
property |
core/modules/content_moderation/src/EventSubscriber/ConfigImportSubscriber.php |
The entity type manager. |
| ConfigImportUITest::testEntityBundleDelete |
function |
core/modules/config/tests/src/Functional/ConfigImportUITest.php |
Tests the config importer cannot delete bundles with existing entities. |