FieldConfigBase::$field_type

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldConfigBase.php \Drupal\Core\Field\FieldConfigBase::field_type
  2. 8.9.x core/lib/Drupal/Core/Field/FieldConfigBase.php \Drupal\Core\Field\FieldConfigBase::field_type
  3. 11.x 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 48

Class

FieldConfigBase
Base class for configurable field definitions.

Namespace

Drupal\Core\Field

Code

protected $field_type;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.