I have a virtual field that outputs a formatted string:
protected function _getDisplayName(){
return $this->ref.' - '.$this->name;
}
I'm trying to use this output as the display filed like so:
$this->displayField('display_name');
But it seems to ignore it and display the enire object. Is this actually possible or am I barking up the wrong tree?