I have this isset()
below because I want to show an empty string if the result of $this->field($content, 'description')
is null.
However doing like this it shows
Cannot use isset() on the result of an expression
Do you know how to properly achieve this?
return [
'description' => isset($this->field($content, 'description') ? $this->field($content, 'description') : '',
//...
];