Beispiel #1
0
 /**
  * @param DataUnitComponentInterface $input
  * @param FormState $state
  * @return null|string
  */
 protected function readInput(DataUnitComponentInterface $input, FormState $state)
 {
     // only load input value if it actually was set
     if ($state->hasInput($input->getFullName())) {
         return $this->preprocessInputValue($input, $state->getInput($input->getFullName()));
     }
     return null;
 }