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 75
Class
- FieldStorageConfig
- Defines the Field storage configuration entity.
Namespace
Drupal\field\Entity
Code
protected $field_name;
Please login to continue.