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 |
|---|---|---|---|
| EnabledConfigurablePluginsConstraintValidator.php | file | core/ |
|
| EnabledConfigurablePluginsConstraintValidator::getConfigurableEnabledDefinitions | function | core/ |
Gets all configurable CKEditor 5 plugin definitions that are enabled. |
| EnabledConfigurablePluginsConstraintValidator::validate | function | core/ |
|
| EntityAdapterUnitTest::testGetConstraints | function | core/ |
@covers ::getConstraints[[api-linebreak]] |
| EntityChangedConstraint | class | core/ |
Validation constraint for the entity changed timestamp. |
| EntityChangedConstraint.php | file | core/ |
|
| EntityChangedConstraint::$message | property | core/ |
|
| EntityChangedConstraintValidator | class | core/ |
Validates the EntityChanged constraint. |
| EntityChangedConstraintValidator.php | file | core/ |
|
| EntityChangedConstraintValidator::validate | function | core/ |
|
| EntityConstraintViolationList | class | core/ |
Implements an entity constraint violation list. |
| EntityConstraintViolationList.php | file | core/ |
|
| EntityConstraintViolationList::$entity | property | core/ |
The entity that has been validated. |
| EntityConstraintViolationList::$entityViolationOffsets | property | core/ |
Violations offsets of entity level violations. |
| EntityConstraintViolationList::$violationOffsetsByField | property | core/ |
Violation offsets grouped by field. |
| EntityConstraintViolationList::add | function | core/ |
|
| EntityConstraintViolationList::filterByFieldAccess | function | core/ |
Filters this violation list to apply for accessible fields only. |
| EntityConstraintViolationList::filterByFields | function | core/ |
Filters this violation list by the given fields. |
| EntityConstraintViolationList::getByField | function | core/ |
Gets the violations of the given field. |
| EntityConstraintViolationList::getByFields | function | core/ |
Gets the violations of the given fields. |
| EntityConstraintViolationList::getEntity | function | core/ |
The entity which has been validated. |
| EntityConstraintViolationList::getEntityViolations | function | core/ |
Gets violations flagged on entity level, not associated with any field. |
| EntityConstraintViolationList::getFieldNames | function | core/ |
Returns the names of all violated fields. |
| EntityConstraintViolationList::groupViolationOffsets | function | core/ |
Groups violation offsets by field and entity level. |
| EntityConstraintViolationList::remove | function | core/ |
|
| EntityConstraintViolationList::set | function | core/ |
|
| EntityConstraintViolationList::__construct | function | core/ |
|
| EntityConstraintViolationListInterface | interface | core/ |
Interface for the result of entity validation. |
| EntityConstraintViolationListInterface.php | file | core/ |
|
| EntityConstraintViolationListInterface::filterByFieldAccess | function | core/ |
Filters this violation list to apply for accessible fields only. |
| EntityConstraintViolationListInterface::filterByFields | function | core/ |
Filters this violation list by the given fields. |
| EntityConstraintViolationListInterface::getByField | function | core/ |
Gets the violations of the given field. |
| EntityConstraintViolationListInterface::getByFields | function | core/ |
Gets the violations of the given fields. |
| EntityConstraintViolationListInterface::getEntity | function | core/ |
The entity which has been validated. |
| EntityConstraintViolationListInterface::getEntityViolations | function | core/ |
Gets violations flagged on entity level, not associated with any field. |
| EntityConstraintViolationListInterface::getFieldNames | function | core/ |
Returns the names of all violated fields. |
| EntityConstraintViolationListTest | class | core/ |
@coversDefaultClass \Drupal\Core\Entity\EntityConstraintViolationList[[api-linebreak]] @group entity |
| EntityConstraintViolationListTest.php | file | core/ |
|
| EntityConstraintViolationListTest::setupConstraintListWithCompositeConstraint | function | core/ |
Builds an entity constraint violation list with composite constraints. |
| EntityConstraintViolationListTest::setupConstraintListWithoutCompositeConstraint | function | core/ |
Builds an entity constraint violation list without composite constraints. |
| EntityConstraintViolationListTest::setupEntity | function | core/ |
Builds the entity. |
| EntityConstraintViolationListTest::testFilterByFieldAccess | function | core/ |
@covers ::filterByFieldAccess[[api-linebreak]] |
| EntityConstraintViolationListTest::testFilterByFieldAccessWithCompositeConstraint | function | core/ |
@covers ::filterByFieldAccess[[api-linebreak]] |
| EntityConstraintViolationListTest::testFilterByFields | function | core/ |
@covers ::filterByFields[[api-linebreak]] |
| EntityConstraintViolationListTest::testFilterByFieldsWithCompositeConstraints | function | core/ |
@covers ::filterByFields[[api-linebreak]] |
| EntityContextDefinition::getConstraintObjects | function | core/ |
Extracts an array of constraints for a context definition object. |
| EntityFieldTest::testEntityConstraintValidation | function | core/ |
Tests validation constraints provided by the Entity API. |
| EntityHasFieldConstraint | class | core/ |
Checks if a value is an entity that has a specific field. |
| EntityHasFieldConstraint.php | file | core/ |
|
| EntityHasFieldConstraint::$field_name | property | core/ |
The field name option. |
Pagination
- Previous page
- Page 6
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.