You are here

protected property FieldConfigBase::$constraints in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/FieldConfigBase.php \Drupal\Core\Field\FieldConfigBase::constraints
  2. 9 core/lib/Drupal/Core/Field/FieldConfigBase.php \Drupal\Core\Field\FieldConfigBase::constraints

Array of constraint options keyed by constraint plugin ID.

Type: array

File

core/lib/Drupal/Core/Field/FieldConfigBase.php, line 184

Class

FieldConfigBase
Base class for configurable field definitions.

Namespace

Drupal\Core\Field

Code

protected $constraints = [];