Search for Constraint
- Search 7.x for Constraint
- Search 8.9.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 |
|---|---|---|---|
| ComplexDataConstraintValidatorTest::testValidation | function | core/ |
Tests the ComplexData validation constraint validator. |
| ComponentsTaggedReleaseTest::providerVersionConstraint | function | core/ |
Highly arbitrary version and constraint expectations. |
| 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/ |
DataType plugin IDs for which this constraint applies. |
| Constraint::isCompatible | function | core/ |
Determines if the provided version is satisfied by this constraint. |
| Constraint::parseConstraint | function | core/ |
Parses a constraint string. |
| Constraint::__construct | function | core/ |
Constraint constructor. |
| Constraint::__toString | function | core/ |
Gets the constraint as a string. |
| ConstraintFactory | class | core/ |
Constraint plugin factory. |
| ConstraintFactory.php | file | core/ |
|
| ConstraintFactory::createInstance | function | core/ |
Creates a pre-configured instance of a plugin. |
| ConstraintFactoryTest | class | core/ |
@coversDefaultClass \Drupal\Core\Validation\ConstraintFactory[[api-linebreak]] |
| ConstraintFactoryTest.php | file | core/ |
|
| ConstraintFactoryTest::$modules | property | core/ |
Modules to enable. |
| 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(). |
| 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 |
| 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/ |
Defines a constraint violation builder for the Typed Data validator. |
| ConstraintViolationBuilder.php | file | core/ |
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.