/** * {@inheritdoc} */ public function getFormValue(array $config, $value) { if ($value === null) { return $this->getDefaultChoices($config); } return parent::getFormValue($config, $value); }
/** * {@inheritdoc} */ public function getFormValue(array $converterAttributes, $value) { if ($value === null) { return $this->businessUnitRepository->findAll(); } return parent::getFormValue($converterAttributes, $value); }