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 |
|---|---|---|---|
| CommentNameConstraint::$messageNameTaken | property | core/ |
Message shown when an anonymous user comments using a registered name. |
| CommentNameConstraint::$messageRequired | property | core/ |
Message shown when an admin changes the comment-author to an invalid user. |
| CommentNameConstraint::coversFields | function | core/ |
An array of entity fields which should be passed to the validator. |
| CommentNameConstraintValidator | class | core/ |
Validates the CommentName constraint. |
| CommentNameConstraintValidator.php | file | core/ |
|
| CommentNameConstraintValidator::$context | property | core/ |
Validator 2.5 and upwards compatible execution context. |
| CommentNameConstraintValidator::$userStorage | property | core/ |
User storage handler. |
| CommentNameConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
| CommentNameConstraintValidator::getAnonymousContactDetailsSetting | function | core/ |
Gets the anonymous contact details setting from the comment. |
| CommentNameConstraintValidator::validate | function | core/ |
|
| CommentNameConstraintValidator::__construct | function | core/ |
Constructs a new CommentNameConstraintValidator. |
| ComplexDataConstraint | class | core/ |
Complex data constraint. |
| ComplexDataConstraint.php | file | core/ |
|
| ComplexDataConstraint::$properties | property | core/ |
An array of constraints for contained properties, keyed by property name. |
| ComplexDataConstraint::getDefaultOption | function | core/ |
|
| ComplexDataConstraint::getRequiredOptions | function | core/ |
|
| ComplexDataConstraint::__construct | function | core/ |
|
| ComplexDataConstraintValidator | class | core/ |
Validates complex data. |
| ComplexDataConstraintValidator.php | file | core/ |
|
| ComplexDataConstraintValidator::validate | function | core/ |
|
| ComplexDataConstraintValidatorTest | class | core/ |
Tests ComplexData validation constraint with both valid and invalid values for a key. |
| ComplexDataConstraintValidatorTest.php | file | core/ |
|
| ComplexDataConstraintValidatorTest::$typedData | property | core/ |
The typed data manager to use. |
| ComplexDataConstraintValidatorTest::setUp | function | core/ |
|
| ComplexDataConstraintValidatorTest::testValidation | function | core/ |
Tests the ComplexData validation constraint validator. |
| CompositeConstraintBase | class | core/ |
Provides a base class for constraints validating multiple fields. |
| CompositeConstraintBase.php | file | core/ |
|
| CompositeConstraintBase::coversFields | function | core/ |
An array of entity fields which should be passed to the validator. |
| Constraint | class | core/ |
Defines a validation constraint annotation object. |
| Constraint | class | core/ |
A value object representing a Drupal version constraint. |
| Constraint.php | file | core/ |
|
| Constraint.php | file | core/ |
|
| Constraint::$constraint | property | core/ |
The constraint represented as a string. For example '>=8.x-5.x'. |
| Constraint::$constraintArray | property | core/ |
A list of associative arrays representing the constraint. |
| Constraint::$id | property | core/ |
The constraint plugin ID. |
| Constraint::$label | property | core/ |
The human-readable name of the constraint plugin. |
| Constraint::$type | property | core/ |
An array of DataType plugin IDs for which this constraint applies. Valid values are any types registered by the typed data API, or an array of multiple type names. For supporting all types, FALSE may be specified. The key defaults to an empty array,… |
| Constraint::isCompatible | function | core/ |
Determines if the provided version is satisfied by this constraint. |
| Constraint::parseConstraint | function | core/ |
Parses a constraint string. |
| Constraint::toArray | function | core/ |
A list of associative arrays representing the constraint. |
| Constraint::__construct | function | core/ |
Constraint constructor. |
| Constraint::__toString | function | core/ |
Gets the constraint as a string. |
| 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(). |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.