src/Utility/ICal/IcEmail.php
protected function getDisplayValue() : string
    {
        try {
            $displayField = $this->table->getDisplayField();
            $displayValue = $this->entity->get($displayField);

            $factory = new FieldHandlerFactory();
            $result = $factory->renderValue($this->table, $displayField, $displayValue, [ 'renderAs' => 'plain']);
        } catch (InvalidArgumentException $e) {
            $result = 'reminder';
        }

        return $result;
    }
protected function getDisplayValue() : string
    {
        try {
            $displayField = $this->table->getDisplayField();
            $displayValue = $this->entity->get($displayField);

            $factory = new FieldHandlerFactory();
            $result = $factory->renderValue($this->table, $displayField, $displayValue, [ 'renderAs' => 'plain']);
        } catch (InvalidArgumentException $e) {
            $result = 'reminder';
        }

        return $result;
    }
protected function getDisplayValue ( ) : string { try { $ displayField = $ this -> table -> getDisplayField ( ) ; $ displayValue = $ this -> entity -> get ( $ displayField ) ; $ factory = new FieldHandlerFactory ( ) ; $ result = $ factory -> renderValue ( $ this -> table , $ displayField , $ displayValue , [ 'renderAs' => 'plain' ] ) ; } catch ( InvalidArgumentException $ e ) { $ result = 'reminder' ; } return $ result ; }
Get plain value of the entity display field

@return string
Get plain value of the entity display field