Search for constraints
- Search 7.x for constraints
- Search 9.5.x for constraints
- Search 10.3.x for constraints
- Search 11.x for constraints
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
FieldConfigBase::$propertyConstraints | property | core/ |
Array of property constraint options keyed by property ID. The values are associative array of constraint options keyed by constraint plugin 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. |
InfoParserDynamic::isConstraintSatisfiedByPreviousVersion | function | core/ |
Determines if a constraint is satisfied by earlier versions of Drupal 8. |
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. |
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. |
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. |
TypedDataMetadata::findConstraints | function | core/ |
|
TypedDataMetadata::getConstraints | function | core/ |
Pagination
- Previous page
- Page 2
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.