Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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(). |
| 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/ |
Pagination
- Previous page
- Page 259
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.