You are here

protected property FieldStorageConfig::$field_name in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::field_name

The field name.

This is the name of the property under which the field values are placed in an entity: $entity->{$field_name}. The maximum length is Field:NAME_MAX_LENGTH.

Example: body, field_main_image.

Type: string

File

core/modules/field/src/Entity/FieldStorageConfig.php, line 80
Contains \Drupal\field\Entity\FieldStorageConfig.

Class

FieldStorageConfig
Defines the Field storage configuration entity.

Namespace

Drupal\field\Entity

Code

protected $field_name;