Search for valid
- Search 7.x for valid
- Search 9.5.x for valid
- Search 8.9.x for valid
- Search 10.3.x for valid
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ValidationTest::testValidate | function | core/ |
Tests #element_validate and #validate. |
ValidationTest::testValidateLimitErrors | function | core/ |
Tests partial form validation through #limit_validation_errors. |
ValidationTestTrait | trait | core/ |
Contains helpful methods for testing stage validators. |
ValidationTestTrait.php | file | core/ |
|
ValidationTestTrait::assertValidationResultsEqual | function | core/ |
Asserts two validation result sets are equal. |
ValidationTestTrait::getValidationResultsAsArray | function | core/ |
Gets an array representation of validation results for easy comparison. |
ValidationTestTrait::resolvePlaceholdersInArrayValuesWithRealPaths | function | core/ |
Resolves <PROJECT_ROOT>, <VENDOR_DIR>, <STAGE_ROOT>, <STAGE_ROOT_PARENT>. |
ValidatorsTest | class | core/ |
@covers \Drupal\ckeditor5\Plugin\Validation\Constraint\ToolbarItemConstraintValidator @covers \Drupal\ckeditor5\Plugin\Validation\Constraint\ToolbarItemDependencyConstraintValidator @covers… |
ValidatorsTest.php | file | core/ |
|
ValidatorsTest::$modules | property | core/ |
Modules to install. |
ValidatorsTest::$typedConfig | property | core/ |
The typed config manager. |
ValidatorsTest::provider | function | core/ |
Provides a list of Text Editor config entities using CKEditor 5 to test. |
ValidatorsTest::providerPair | function | core/ |
Provides a list of Text Editor + Text Format pairs to test. |
ValidatorsTest::setUp | function | core/ |
|
ValidatorsTest::test | function | core/ |
@covers \Drupal\ckeditor5\Plugin\Validation\Constraint\CKEditor5ElementConstraintValidator @covers \Drupal\ckeditor5\Plugin\Validation\Constraint\StyleSensibleElementConstraintValidator @covers… |
ValidatorsTest::testMultipleHtmlRestrictingFilters | function | core/ |
Tests that validation works with >1 enabled HTML restrictor filters. |
ValidatorsTest::testPair | function | core/ |
@covers \Drupal\ckeditor5\Plugin\Validation\Constraint\SourceEditingPreventSelfXssConstraintValidator @dataProvider providerPair |
ValidConsumer | class | core/ |
|
ValidConsumer::addHandler | function | core/ |
|
ValidConsumer::addNoPriority | function | core/ |
|
ValidConsumer::addWithId | function | core/ |
|
ValidConsumerWithExtraArguments | class | core/ |
|
ValidConsumerWithExtraArguments::addHandler | function | core/ |
|
ValidConsumerWithExtraArguments::addNoPriority | function | core/ |
|
ValidConsumerWithExtraArguments::addWithDifferentOrder | function | core/ |
|
ValidConsumerWithExtraArguments::addWithId | function | core/ |
|
ValidHandler | class | core/ |
|
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/ |
|
ValidKeysConstraint::getRequiredOptions | function | core/ |
|
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. |
Pagination
- Previous page
- Page 68
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.