How to get alter value of a views field programmatically
This is how I went about getting the "alter" value for my project:

if ($this-&gt;displayHandler-&gt;getHandler('field', $field)-&gt;options['alter']['alter_text'] == 1) {
  $value = $this-&gt;displayHandler-&gt;getHandler('field', $field)-&gt;options['alter']['text'];
}
else {
  $value = $values-&gt;_entity-&gt;get($field)-&gt;value;
}