Returns the data of the field as it is displayed to the user.
public getDisplayedData ( ) : string | array | ||
return | string | array | When the field is not bound, the transformed default data is returned. When the field is bound, the bound data is returned. |
/** * {@inheritDoc} */ public function getDisplayedData() { if ($this->mode === self::GROUP) { return parent::getDisplayedData(); } else { return Field::getDisplayedData(); } }
/** * {@inheritDoc} */ public function getDisplayedData() { if ($this->mode === self::FORM) { return parent::getDisplayedData(); } return Field::getDisplayedData(); }