Search for valid
Title | Object type | File name | Summary |
---|---|---|---|
ValidKeysConstraint | class | core/ |
Checks that all the keys of a mapping are valid and required keys present. |
ValidKeysConstraint.php | file | core/ |
|
ValidKeysConstraint::$allowedKeys | property | core/ |
Keys which are allowed in the validated array, or `<infer>` to auto-detect. |
ValidKeysConstraint::$dynamicInvalidKeyMessage | property | core/ |
The error message if a key is unknown for the resolved type. |
ValidKeysConstraint::$dynamicMissingRequiredKeyMessage | property | core/ |
The error message if a dynamically required key is missing. |
ValidKeysConstraint::$indexedArrayMessage | property | core/ |
The error message if the array being validated is a list. |
ValidKeysConstraint::$invalidKeyMessage | property | core/ |
The error message if a key is invalid. |
ValidKeysConstraint::$missingRequiredKeyMessage | property | core/ |
The error message if a key is missing. |
ValidKeysConstraint::getAllowedKeys | function | core/ |
Returns the list of valid keys. |
ValidKeysConstraint::getDefaultOption | function | core/ |
@todo Add method return type declaration. |
ValidKeysConstraint::getRequiredOptions | function | core/ |
@todo Add method return type declaration. |
ValidKeysConstraintValidator | class | core/ |
Validates the ValidKeys constraint. |
ValidKeysConstraintValidator.php | file | core/ |
|
ValidKeysConstraintValidator::getDynamicMessageParameters | function | core/ |
Computes message parameters for dynamic type violations. |
ValidKeysConstraintValidator::validate | function | core/ |
|
ValidKeysConstraintValidatorTest | class | core/ |
Tests the ValidKeys validation constraint. |
ValidKeysConstraintValidatorTest.php | file | core/ |
|
ValidKeysConstraintValidatorTest::$config | property | core/ |
The typed config under test. |
ValidKeysConstraintValidatorTest::assertValidationErrors | function | core/ |
Asserts a set of validation errors is raised when the config is validated. |
ValidKeysConstraintValidatorTest::setUp | function | core/ |
|
ValidKeysConstraintValidatorTest::testBothUnknownAndDynamicallyRequiredKeys | function | core/ |
Tests detecting both unknown and required keys. |
ValidKeysConstraintValidatorTest::testDynamicallyRequiredKeys | function | core/ |
Tests detecting missing dynamically required keys. |
ValidKeysConstraintValidatorTest::testMarkedAsOptional | function | core/ |
Tests ValidKeys constraint validator detecting optional keys. |
ValidKeysConstraintValidatorTest::testRequiredKeys | function | core/ |
Tests detecting missing required keys. |
ValidKeysConstraintValidatorTest::testSupportedKeys | function | core/ |
Tests detecting unsupported keys. |
ValidKeysConstraintValidatorTest::testUnknownKeys | function | core/ |
Tests detecting unknown keys. |
ValidKeysConstraintValidatorTest::testValidation | function | core/ |
Tests the ValidKeys constraint validator. |
ValidKeysConstraintValidatorTest::testValidKeyInference | function | core/ |
Tests that valid keys can be inferred from the data definition. |
ValidPathConstraint | class | core/ |
Validation constraint for valid system paths. |
ValidPathConstraint.php | file | core/ |
|
ValidPathConstraint::$message | property | core/ |
The default violation message. |
ValidPathConstraintValidator | class | core/ |
Constraint validator for validating system paths. |
ValidPathConstraintValidator.php | file | core/ |
|
ValidPathConstraintValidator::$pathValidator | property | core/ |
The path validator. |
ValidPathConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
ValidPathConstraintValidator::validate | function | core/ |
|
ValidPathConstraintValidator::__construct | function | core/ |
Creates a new ValidPathConstraintValidator instance. |
ValidReferenceConstraint | class | core/ |
Entity Reference valid reference constraint. |
ValidReferenceConstraint.php | file | core/ |
|
ValidReferenceConstraint::$invalidAutocreateMessage | property | core/ |
Violation message when a new entity ("autocreate") is invalid. |
ValidReferenceConstraint::$message | property | core/ |
The default violation message. |
ValidReferenceConstraint::$nonExistingMessage | property | core/ |
Violation message when the entity does not exist. |
ValidReferenceConstraint::$nullMessage | property | core/ |
Violation message when the target_id is empty. |
ValidReferenceConstraintValidator | class | core/ |
Checks if referenced entities are valid. |
ValidReferenceConstraintValidator.php | file | core/ |
|
ValidReferenceConstraintValidator::$entityTypeManager | property | core/ |
The entity type manager. |
ValidReferenceConstraintValidator::$selectionManager | property | core/ |
The selection plugin manager. |
ValidReferenceConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
ValidReferenceConstraintValidator::validate | function | core/ |
|
ValidReferenceConstraintValidator::__construct | function | core/ |
Constructs a ValidReferenceConstraintValidator object. |
Pagination
- Previous page
- Page 59
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.