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