Search for valid

  1. Search 7.x for valid
  2. Search 9.5.x for valid
  3. Search 8.9.x for valid
  4. Search 10.3.x for valid
  5. Other projects
Title Object type File name Summary
ComposerValidatorTest::testComposerSettingsValidation function core/modules/package_manager/tests/src/Kernel/ComposerValidatorTest.php Tests that Composer's settings are validated.
ComposerValidatorTest::testComposerSettingsValidationDuringPreApply function core/modules/package_manager/tests/src/Kernel/ComposerValidatorTest.php Tests that Composer's settings are validated during pre-apply.
ComposerValidatorTest::testLinkToOnlineHelp function core/modules/package_manager/tests/src/Kernel/ComposerValidatorTest.php Tests that invalid configuration links to online help, if available.
ConditionPluginBase::validateConfigurationForm function core/lib/Drupal/Core/Condition/ConditionPluginBase.php Form validation handler.
ConfigActionValidationTest class core/tests/Drupal/KernelTests/Core/Recipe/ConfigActionValidationTest.php @group Recipe
ConfigActionValidationTest.php file core/tests/Drupal/KernelTests/Core/Recipe/ConfigActionValidationTest.php
ConfigActionValidationTest::$modules property core/tests/Drupal/KernelTests/Core/Recipe/ConfigActionValidationTest.php Modules to install.
ConfigActionValidationTest::$strictConfigSchema property core/tests/Drupal/KernelTests/Core/Recipe/ConfigActionValidationTest.php This test requires that we save invalid config, so we can test that it gets
validated after applying a recipe.
ConfigActionValidationTest::setUp function core/tests/Drupal/KernelTests/Core/Recipe/ConfigActionValidationTest.php
ConfigActionValidationTest::testConfigActionDependenciesAreValidated function core/tests/Drupal/KernelTests/Core/Recipe/ConfigActionValidationTest.php Tests validating that config actions' dependencies are present.
ConfigActionValidationTest::testConfigActionMissingDependency function core/tests/Drupal/KernelTests/Core/Recipe/ConfigActionValidationTest.php Tests config action validation for missing dependency.
ConfigActionValidationTest::testConfigActionsAreValidated function core/tests/Drupal/KernelTests/Core/Recipe/ConfigActionValidationTest.php @testWith ["block_content_type"]
["node_type"]
["shortcut_set"]
["menu"]
ConfigBase::validateKeys function core/lib/Drupal/Core/Config/ConfigBase.php Validates all keys in a passed in config array structure.
ConfigBase::validateName function core/lib/Drupal/Core/Config/ConfigBase.php Validates the configuration object name.
ConfigCRUDTest::testNameValidation function core/tests/Drupal/KernelTests/Core/Config/ConfigCRUDTest.php Tests the validation of configuration object names.
ConfigCRUDTest::testValueValidation function core/tests/Drupal/KernelTests/Core/Config/ConfigCRUDTest.php Tests the validation of configuration object values.
ConfigEntityAdapterTest::testValidate function core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityAdapterTest.php @covers ::validate
ConfigEntityBase::getCacheTagsToInvalidate function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Returns the cache tags that should be used to invalidate caches.
ConfigEntityBase::invalidateTagsOnDelete function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Override to never invalidate the individual entities' cache tags; the
config system already invalidates them.
ConfigEntityBase::invalidateTagsOnSave function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Override to never invalidate the entity's cache tag; the config system
already invalidates it.
ConfigEntityBaseUnitTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php The mocked cache backend.
ConfigEntityStorageTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php The mocked cache backend.
ConfigEntityStorageTest::testSaveInvalid function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php @covers ::save
ConfigEntityTypeTest::testConfigPrefixLengthValid function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php Tests when the prefix length is valid.
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).
ConfigEvents::IMPORT_VALIDATE constant core/lib/Drupal/Core/Config/ConfigEvents.php Name of the event fired when validating imported configuration.

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