Access field object (not render array) in field templates
The field template receives its values from the parent entities' view display build array. This build array doesn't contain separate keys for the original fields on their components build arrays.

But a field preprocess function receives enough information to extract them: The 'element' item contains an '#object' key that holds the original entity, and a '#field_name' key that holds the name of the field. (Which is also available in the template as field_name thanks to template_preprocess_field().)

If you'd like to access the original field, you could do something like:

$element = $variables['element'];
$field_item_list = $element['#object']-&gt;get($element['#field_name']);


Which should return an instance of a class that implements FieldItemListInterface (FieldItemList, EntityReferenceFieldItemList, ...).