FieldPluginBase: How to test based on views field raw value? I know that the render method is not the right place to do conditional logic but I have no clue where I should implement my tests.

This is my render method I want to access the raw value of a field to do a test on it (conditional field):

  public function render(ResultRow $values) {

    $field_abnormal_category = $this-&gt;view-&gt;field['field_abnormal_category']-&gt;original_value-&gt;__toString();

    if($field_abnormal_category == 'No') {
      $field_category_image = $this-&gt;view-&gt;field['field_category_image']-&gt;original_value-&gt;__toString();
    }
    else {
      $field_category_image = '';
    }

    return [
    '#type' =&gt; 'inline_template',
    '#template' =&gt; $field_category_image
    ];

  }


The original_value object is returning the translation not the original string.

How can I access the original value of my field (not translated)?
For the untranslated field value get first the untranslated entity:

if ($entity = $this-&gt;getEntity($values)) {
  $untranslated_entity = $entity-&gt;getUntranslated();
  $untranslated_value = $untranslated_entity-&gt;field_example-&gt;value;
}