/** * {@inheritdoc} */ public function getValue() { $values = parent::getValue(); if ($this->entity instanceof EntityNeedsSaveInterface && $this->entity->needsSave()) { $values['entity'] = $this->entity; } return $values; }
/** * {@inheritdoc} */ public function getValue() { return parent::getValue(); }