How can I consistently see the "renderable" version of a views field? I created a custom views style plugin. I currently use:

$value = $view-&gt;field[$label_column]-&gt;getValue($row);


to get the value of the field. However, I was recently informed that this does not work for list fields(like 0=>'yes'=, 1=>'no'). This original line displays 0 and 1 instead of 'yes' and 'no'. This user suggested I use:

$items = $view-&gt;field[$label_column]-&gt;getItems($row);
$value = $view-&gt;field[$label_column]-&gt;render_item(1, $items[0]);


It seems like this solution does not work on standard fields. I also recently found that the original line does not respect field rewrites. Is there a universal way to see the field value after rewrites, while also respecting lists?
Use advancedRender(), this is a method in the base class of views fields, which renders an entity field respecting field rewrites and other settings:

$value = $field-&gt;advancedRender($row);