Search for constraints
- Search 7.x for constraints
- Search 9.5.x for constraints
- Search 8.9.x for constraints
- Search 10.3.x for constraints
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
entity_test_constraints.module | file | core/ |
|
entity_test_constraints_entity_type_alter | function | core/ |
Implements hook_entity_type_alter(). |
entity_test_constraints_entity_type_build | function | core/ |
Implements hook_entity_type_build(). |
ExecutionContext::$validatedConstraints | property | core/ |
Stores which class constraint has been validated for which object. |
FieldConfigBase::$constraints | property | core/ |
Array of constraint options keyed by constraint plugin ID. |
FieldConfigBase::$propertyConstraints | property | core/ |
Array of property constraint options keyed by property ID. |
FieldConfigBase::addPropertyConstraints | function | core/ |
Adds constraints for a given field item property. |
FieldConfigBase::getConstraints | function | core/ |
Returns an array of validation constraints. |
FieldConfigBase::setConstraints | function | core/ |
Sets the array of validation constraints for the FieldItemList. |
FieldConfigBase::setPropertyConstraints | function | core/ |
Sets constraints for a given field item property. |
FieldConfigInterface::addPropertyConstraints | function | core/ |
Adds constraints for a given field item property. |
FieldConfigInterface::setConstraints | function | core/ |
Sets the array of validation constraints for the FieldItemList. |
FieldConfigInterface::setPropertyConstraints | function | core/ |
Sets constraints for a given field item property. |
FieldCrudTest::doFieldPropertyConstraintsTests | function | core/ |
Tests configurable field validation. |
FieldCrudTest::testFieldPropertyConstraints | function | core/ |
Tests setting and adding property constraints to a configurable field. |
FieldItemList::getConstraints | function | core/ |
Gets a list of validation constraints. |
FieldStorageConfig::getConstraints | function | core/ |
Returns an array of validation constraints. |
FieldStorageDefinitionInterface::getConstraints | function | core/ |
Returns an array of validation constraints. |
FieldValidationTest::testFieldConstraints | function | core/ |
Tests that constraints defined by the field type are validated. |
IntegerItem::getConstraints | function | core/ |
Gets a list of validation constraints. |
MediaKernelTestBase::$testConstraintsMediaType | property | core/ |
The test media type with constraints. |
MediaSourceEntityConstraintsInterface | interface | core/ |
Defines an interface for a media source with entity constraints. |
MediaSourceEntityConstraintsInterface.php | file | core/ |
|
MediaSourceEntityConstraintsInterface::getEntityConstraints | function | core/ |
Gets media source-specific validation constraints for a media item. |
MediaSourceFieldConstraintsInterface | interface | core/ |
Defines an interface for a media source with source field constraints. |
MediaSourceFieldConstraintsInterface.php | file | core/ |
|
MediaSourceFieldConstraintsInterface::getSourceFieldConstraints | function | core/ |
Gets media source-specific validation constraints for a source field. |
MediaSourceTest::testConstraints | function | core/ |
Tests the media item constraints functionality. |
NumberItemTest::testConstraints | function | core/ |
Tests constraints on numeric item fields. |
NumericItemBase::getConstraints | function | core/ |
Gets a list of validation constraints. |
OEmbed::getSourceFieldConstraints | function | core/ |
Gets media source-specific validation constraints for a source field. |
PrecedingConstraintAwareValidatorTrait::getPrecedingConstraints | function | core/ |
Gets the constraints preceding the given constraint in the current context. |
PrecedingConstraintAwareValidatorTrait::hasViolationsForPrecedingConstraints | function | core/ |
Checks whether any preceding constraints have been violated. |
RecursiveContextualValidator::validateConstraints | function | core/ |
Validates a node's value against all constraints in the given group. |
RecursiveContextualValidatorTest::testBasicValidateWithMultipleConstraints | function | core/ |
@covers ::validate |
RecursiveContextualValidatorTest::testBasicValidateWithoutConstraints | function | core/ |
@covers ::validate |
StringItem::getConstraints | function | core/ |
Gets a list of validation constraints. |
TelephoneItem::getConstraints | function | core/ |
Gets a list of validation constraints. |
TemplateProjectTestBase::unboundCoreConstraints | function | core/ |
Changes constraints for core packages to `*`. |
TestItem::getConstraints | function | core/ |
Gets a list of validation constraints. |
TestWithConstraints | class | core/ |
Provides generic media type. |
TestWithConstraints.php | file | core/ |
|
TestWithConstraints::getEntityConstraints | function | core/ |
Gets media source-specific validation constraints for a media item. |
TestWithConstraints::getSourceFieldConstraints | function | core/ |
Gets media source-specific validation constraints for a source field. |
TextItem::getConstraints | function | core/ |
Gets a list of validation constraints. |
TextWithSummaryItem::getConstraints | function | core/ |
Gets a list of validation constraints. |
TypedData::getConstraints | function | core/ |
Gets a list of validation constraints. |
TypedDataInterface::getConstraints | function | core/ |
Gets a list of validation constraints. |
TypedDataManager::getDefaultConstraints | function | core/ |
Gets default constraints for the given data definition. |
TypedDataManagerInterface::getDefaultConstraints | function | core/ |
Gets default constraints for the given data definition. |
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.