src/Shop/AdvancedConfigForm.php
protected function getOptionsFields()
    {
        $fields = array(
            'showOptions' => array(
                'type' => 'checkbox',
                'label' => $this->t('field_showOptions'),
                'description' => $this->t('desc_showOptions'),
                'options' => array(
                    'optionsShow' => $this->t('option_optionsShow'),
                ),
            ),
            'optionsAllOn1Line' => array(
                'type' => 'select',
                'label' => $this->t('field_optionsAllOn1Line'),
                'options' => array(
                    0 => $this->t('option_do_not_use'),
                    PHP_INT_MAX => $this->t('option_always'),
                ) + array_combine(range(1, 10), range(1, 10)),
            ),
            'optionsAllOnOwnLine' => array(
                'type' => 'select',
                'label' => $this->t('field_optionsAllOnOwnLine'),
                'options' => array(
                    PHP_INT_MAX => $this->t('option_do_not_use'),
                    1 => $this->t('option_always'),
                ) + array_combine(range(2, 10), range(2, 10)),
            ),
            'optionsMaxLength' => array(
                'type' => 'number',
                'label' => $this->t('field_optionsMaxLength'),
                'description' => $this->t('desc_optionsMaxLength'),
                'attributes' => array(
                    'min' => 1,
                ),
            ),
        );
        return $fields;
    }
protected function getOptionsFields()
    {
        $fields = array(
            'showOptions' => array(
                'type' => 'checkbox',
                'label' => $this->t('field_showOptions'),
                'description' => $this->t('desc_showOptions'),
                'options' => array(
                    'optionsShow' => $this->t('option_optionsShow'),
                ),
            ),
            'optionsAllOn1Line' => array(
                'type' => 'select',
                'label' => $this->t('field_optionsAllOn1Line'),
                'options' => array(
                    0 => $this->t('option_do_not_use'),
                    PHP_INT_MAX => $this->t('option_always'),
                ) + array_combine(range(1, 10), range(1, 10)),
            ),
            'optionsAllOnOwnLine' => array(
                'type' => 'select',
                'label' => $this->t('field_optionsAllOnOwnLine'),
                'options' => array(
                    PHP_INT_MAX => $this->t('option_do_not_use'),
                    1 => $this->t('option_always'),
                ) + array_combine(range(2, 10), range(2, 10)),
            ),
            'optionsMaxLength' => array(
                'type' => 'number',
                'label' => $this->t('field_optionsMaxLength'),
                'description' => $this->t('desc_optionsMaxLength'),
                'attributes' => array(
                    'min' => 1,
                ),
            ),
        );
        return $fields;
    }
protected function getOptionsFields ( ) { $ fields = array ( 'showOptions' => array ( 'type' => 'checkbox' , 'label' => $ this -> t ( 'field_showOptions' ) , 'description' => $ this -> t ( 'desc_showOptions' ) , 'options' => array ( 'optionsShow' => $ this -> t ( 'option_optionsShow' ) , ) , ) , 'optionsAllOn1Line' => array ( 'type' => 'select' , 'label' => $ this -> t ( 'field_optionsAllOn1Line' ) , 'options' => array ( 0 => $ this -> t ( 'option_do_not_use' ) , PHP_INT_MAX => $ this -> t ( 'option_always' ) , ) + array_combine ( range ( 1 , 10 ) , range ( 1 , 10 ) ) , ) , 'optionsAllOnOwnLine' => array ( 'type' => 'select' , 'label' => $ this -> t ( 'field_optionsAllOnOwnLine' ) , 'options' => array ( PHP_INT_MAX => $ this -> t ( 'option_do_not_use' ) , 1 => $ this -> t ( 'option_always' ) , ) + array_combine ( range ( 2 , 10 ) , range ( 2 , 10 ) ) , ) , 'optionsMaxLength' => array ( 'type' => 'number' , 'label' => $ this -> t ( 'field_optionsMaxLength' ) , 'description' => $ this -> t ( 'desc_optionsMaxLength' ) , 'attributes' => array ( 'min' => 1 , ) , ) , ) ; return $ fields ; }
Returns the set of options related fields.

The fields returned:
- optionsAllOn1Line
- optionsAllOnOwnLine
- optionsMaxLength

@return array[]
The set of options related fields.
Returns the set of options related fields .