src/FormParameter/SelectParameter.php
public function formInputConfig()
    {
        $formConfig = parent::formInputConfig();

        if (!array_key_exists('options', $formConfig)) {
            $options = $this->config('options');
            $finder = $this->config('finder');
            if (!empty($options) && is_array($options)) {
                $formConfig['options'] = $options;
            } elseif ($this->_allowedEmptyOptions()) {
            } elseif (!empty($finder)) {
                $formConfig['options'] = $finder;
            }
        }

        return $formConfig;
    }
public function formInputConfig()
    {
        $formConfig = parent::formInputConfig();

        if (!array_key_exists('options', $formConfig)) {
            $options = $this->config('options');
            $finder = $this->config('finder');
            if (!empty($options) && is_array($options)) {
                $formConfig['options'] = $options;
            } elseif ($this->_allowedEmptyOptions()) {
            } elseif (!empty($finder)) {
                $formConfig['options'] = $finder;
            }
        }

        return $formConfig;
    }
public function formInputConfig ( ) { $ formConfig = parent :: formInputConfig ( ) ; if ( ! array_key_exists ( 'options' , $ formConfig ) ) { $ options = $ this -> config ( 'options' ) ; $ finder = $ this -> config ( 'finder' ) ; if ( ! empty ( $ options ) && is_array ( $ options ) ) { $ formConfig [ 'options' ] = $ options ; } elseif ( $ this -> _allowedEmptyOptions ( ) ) { } elseif ( ! empty ( $ finder ) ) { $ formConfig [ 'options' ] = $ finder ; } } return $ formConfig ; }
Returns input config

@return array
Returns input config