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

The field type.

This property is denormalized from the field storage for optimization of the "entity and render cache hits" critical paths. If not present in the $values passed to create(), it is populated from the field storage in postCreate(), and saved in config records so that it is present on subsequent loads.

Type: string

File

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

Class

FieldConfigBase
Base class for configurable field definitions.

Namespace

Drupal\Core\Field

Code

protected $field_type;