Search for Constraint
- Search 7.x for Constraint
- Search 9.5.x for Constraint
- Search 10.3.x for Constraint
- Search 11.x for Constraint
- Search main for Constraint
- Other projects
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Constraint | class | core/ |
Defines a validation constraint annotation object. |
| Constraint | class | core/ |
A value object representing a Drupal version constraint. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| ConstraintsTest | class | core/ |
Tests various low level constrains provided by core. |
| ConstraintsTest.php | file | core/ |
|
| ConstraintsTest::$modules | property | core/ |
Modules to enable. |
| ConstraintsTest::setUp | function | core/ |
|
| ConstraintsTest::testUuid | function | core/ |
|
| ConstraintTest | class | core/ |
@coversDefaultClass \Drupal\Component\Version\Constraint[[api-linebreak]] @group Version |
| ConstraintTest.php | file | core/ |
|
| ConstraintTest::createTestsForVersions | function | core/ |
Create testIsCompatible() test cases for constraints and versions. |
| ConstraintTest::providerIsCompatible | function | core/ |
Provider for testIsCompatible. |
| ConstraintTest::testIsCompatible | function | core/ |
@covers ::isCompatible[[api-linebreak]] @dataProvider providerIsCompatible |
| ConstraintTest::testToArray | function | core/ |
@covers ::toArray[[api-linebreak]] @group legacy @expectedDeprecation Drupal\Component\Version\Constraint::toArray() only exists to provide a backwards compatibility layer. See https://www.drupal.org/node/2756875 |
| ConstraintValidatorFactory | class | core/ |
Defines a constraint validator factory that works with container injection. |
| ConstraintValidatorFactory.php | file | core/ |
|
| ConstraintValidatorFactory::getInstance | function | core/ |
|
| ConstraintValidatorFactory::__construct | function | core/ |
Constructs a new ConstraintValidatorFactory. |
| ConstraintViolationBuilder | class | core/ |
Defines a constraint violation builder for the Typed Data validator. |
| ConstraintViolationBuilder.php | file | core/ |
|
| ConstraintViolationBuilder::$cause | property | core/ |
|
| ConstraintViolationBuilder::$code | property | core/ |
|
| ConstraintViolationBuilder::$constraint | property | core/ |
|
| ConstraintViolationBuilder::$invalidValue | property | core/ |
The invalid value caused the violation. |
| ConstraintViolationBuilder::$message | property | core/ |
The violation message. |
| ConstraintViolationBuilder::$parameters | property | core/ |
The message parameters. |
| ConstraintViolationBuilder::$plural | property | core/ |
The number used |
| ConstraintViolationBuilder::$propertyPath | property | core/ |
The property path. |
| ConstraintViolationBuilder::$root | property | core/ |
The root path. |
| ConstraintViolationBuilder::$translationDomain | property | core/ |
The translation domain. |
| ConstraintViolationBuilder::$translator | property | core/ |
The translator. |
| ConstraintViolationBuilder::$violations | property | core/ |
The list of violations. |
| ConstraintViolationBuilder::addViolation | function | core/ |
|
| ConstraintViolationBuilder::atPath | function | core/ |
|
| ConstraintViolationBuilder::setCause | function | core/ |
|
| ConstraintViolationBuilder::setCode | function | core/ |
|
| ConstraintViolationBuilder::setInvalidValue | function | core/ |
|
| ConstraintViolationBuilder::setParameter | function | core/ |
|
| ConstraintViolationBuilder::setParameters | function | core/ |
|
| ConstraintViolationBuilder::setPlural | function | core/ |
|
| ConstraintViolationBuilder::setTranslationDomain | function | core/ |
|
| ConstraintViolationBuilder::__construct | function | core/ |
Constructs a new ConstraintViolationBuilder instance. |
| ContentTranslationSynchronizedFieldsConstraint | class | core/ |
Validation constraint for the entity changed timestamp. |
| ContentTranslationSynchronizedFieldsConstraint.php | file | core/ |
|
| ContentTranslationSynchronizedFieldsConstraint::$defaultRevisionMessage | property | core/ |
|
| ContentTranslationSynchronizedFieldsConstraint::$defaultTranslationMessage | property | core/ |
|
| ContentTranslationSynchronizedFieldsConstraintValidator | class | core/ |
Checks that synchronized fields are handled correctly in pending revisions. |
| ContentTranslationSynchronizedFieldsConstraintValidator.php | file | core/ |
|
| ContentTranslationSynchronizedFieldsConstraintValidator::$contentTranslationManager | property | core/ |
The content translation manager. |
| ContentTranslationSynchronizedFieldsConstraintValidator::$entityTypeManager | property | core/ |
The entity type manager. |
| ContentTranslationSynchronizedFieldsConstraintValidator::$synchronizer | property | core/ |
The field translation synchronizer. |
| ContentTranslationSynchronizedFieldsConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
| ContentTranslationSynchronizedFieldsConstraintValidator::getOriginalEntity | function | core/ |
Returns the original unchanged entity to be used to detect changes. |
Pagination
- Previous page
- Page 3
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.