Search for Constraint
- Search 7.x for Constraint
- Search 9.5.x for Constraint
- Search 8.9.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 Constraint attribute object. |
| 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 |
|---|---|---|---|
| ConstraintFactoryTest::$modules | property | core/ |
Modules to install. |
| ConstraintFactoryTest::testCreateInstance | function | core/ |
@covers ::createInstance[[api-linebreak]] |
| ConstraintManager | class | core/ |
Constraint plugin manager. |
| ConstraintManager.php | file | core/ |
|
| ConstraintManager::create | function | core/ |
Creates a validation constraint. |
| ConstraintManager::getDefinitionsByType | function | core/ |
Returns a list of constraints that support the given type. |
| ConstraintManager::getDiscovery | function | core/ |
Gets the plugin discovery. |
| ConstraintManager::processDefinition | function | core/ |
Performs extra processing on plugin definitions. |
| ConstraintManager::registerDefinitions | function | core/ |
Callback for registering definitions for constraints shipped with Symfony. |
| ConstraintManager::__construct | function | core/ |
Overrides \Drupal\Component\Plugin\PluginManagerBase::__construct(). |
| 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 |
| ConstraintValidatorFactory | class | core/ |
Defines a constraint validator factory that works with container injection. |
| ConstraintValidatorFactory.php | file | core/ |
|
| ConstraintValidatorFactory::$classResolver | property | core/ |
The class resolver. |
| ConstraintValidatorFactory::getInstance | function | core/ |
|
| ConstraintValidatorFactory::__construct | function | core/ |
Constructs a new ConstraintValidatorFactory. |
| ConstraintViolationBuilder | class | core/ |
A constraint violation builder for the basic Symfony validator. |
| ConstraintViolationBuilder | class | core/ |
Defines a constraint violation builder for the Typed Data validator. |
| ConstraintViolationBuilder.php | file | core/ |
|
| ConstraintViolationBuilder.php | file | core/ |
|
| ConstraintViolationBuilder::$cause | property | core/ |
The cause. |
| ConstraintViolationBuilder::$code | property | core/ |
The code. |
| ConstraintViolationBuilder::$plural | property | core/ |
The number used |
| ConstraintViolationBuilder::addViolation | function | core/ |
|
| ConstraintViolationBuilder::atPath | function | core/ |
|
| ConstraintViolationBuilder::disableTranslation | 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. |
| 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/ |
Message shown for non-translatable field changes in non-default revision. |
| ContentTranslationSynchronizedFieldsConstraint::$defaultTranslationMessage | property | core/ |
Message shown for non-translatable field changes in different language. |
| 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 4
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.