public function GridFieldType::getConstraints in Paragraphs grid 8
Gets a list of validation constraints.
Return value
array Array of constraints, each being an instance of \Symfony\Component\Validator\Constraint.
Overrides TypedData::getConstraints
File
- src/
Plugin/ Field/ FieldType/ GridFieldType.php, line 146
Class
- GridFieldType
- Plugin implementation of the 'grid_field_type' field type.
Namespace
Drupal\paragraphs_grid\Plugin\Field\FieldTypeCode
public function getConstraints() {
$constraints = parent::getConstraints();
return $constraints;
}