Search for violations
- Search 7.x for violations
- Search 9.5.x for violations
- Search 8.9.x for violations
- Search 11.x for violations
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| AccountForm::flagViolations | function | core/ |
Flags violations for the current form. |
| CKEditor5ValidationTestTrait::validatePairToViolationsArray | function | core/ |
Decorator for CKEditor5::validatePair() that returns an assertable array. |
| CKEditor5ValidationTestTrait::violationsToArray | function | core/ |
Transforms a constraint violation list object to an assertable array. |
| CommentForm::flagViolations | function | core/ |
Flags violations for the current form. |
| ConfigFormBase::formatMultipleViolationsMessage | function | core/ |
Formats multiple violation messages associated with a single form element. |
| ContentEntityForm::flagViolations | function | core/ |
Flags violations for the current form. |
| ContentTranslationFieldSyncRevisionTest::assertViolations | function | core/ |
Asserts that the expected violations were found. |
| EntityConstraintViolationList::getEntityViolations | function | core/ |
Gets violations flagged on entity level, not associated with any field. |
| EntityConstraintViolationListInterface::getEntityViolations | function | core/ |
Gets violations flagged on entity level, not associated with any field. |
| EntityFormDisplay::flagWidgetsErrorsFromViolations | function | core/ |
Flags entity validation violations as form errors. |
| EntityFormDisplay::movePropertyPathViolationsRelativeToField | function | core/ |
Moves the property path to be relative to field level. |
| EntityFormDisplayInterface::flagWidgetsErrorsFromViolations | function | core/ |
Flags entity validation violations as form errors. |
| EntityValidationException::$violations | property | core/ |
The list of violations generated during the entity validation. |
| EntityValidationException::getViolations | function | core/ |
Returns the list of violations generated during the entity validation. |
| ExecutionContext::$violations | property | core/ |
The violations generated in the current context. |
| ExecutionContext::getViolations | function | core/ |
|
| FileUploadResult::$violations | property | core/ |
The constraint violations. |
| FileUploadResult::addViolations | function | core/ |
Adds constraint violations. |
| FileUploadResult::getViolations | function | core/ |
Gets the constraint violations. |
| FileUploadResult::hasViolations | function | core/ |
Returns TRUE if there are constraint violations. |
| JsonApiRegressionTest::testRecursionDetectedWhenResponseContainsViolationsFrom3042124 | function | core/ |
Tests that the response still has meaningful error messages. |
| PrecedingConstraintAwareValidatorTrait::hasViolationsForPrecedingConstraints | function | core/ |
Checks whether any preceding constraints have been violated. |
| RecursiveContextualValidator::getViolations | function | core/ |
|
| TermForm::flagViolations | function | core/ |
Flags violations for the current form. |
| UnprocessableHttpEntityException::$violations | property | core/ |
The constraint violations associated with this exception. |
| UnprocessableHttpEntityException::getViolations | function | core/ |
Gets the constraint violations associated with this exception. |
| UnprocessableHttpEntityException::setViolations | function | core/ |
Sets the constraint violations associated with this exception. |
| UpdateSettingsForm::formatMultipleViolationsMessage | function | core/ |
Formats multiple violation messages associated with a single form element. |
| WorkspaceForm::flagViolations | function | core/ |
Flags violations for the current form. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.