src/Forms/Resources/Transformers/ChoiceFieldTransformer.php
protected function getOptions(FieldTypeInterface $field)
    {
        $options = parent::getOptions($field);

        $options['choices'] = $this->parseChoices($options['choices']);

        return $options;
    }
protected function getOptions(FieldTypeInterface $field)
    {
        $options = parent::getOptions($field);

        $options['choices'] = $this->parseChoices($options['choices']);

        return $options;
    }
protected function getOptions ( FieldTypeInterface $ field ) { $ options = parent :: getOptions ( $ field ) ; $ options [ 'choices' ] = $ this -> parseChoices ( $ options [ 'choices' ] ) ; return $ options ; }
Return choice field options.

@param FieldTypeInterface $field

@return array
Return choice field options .