src/Shop/ConfigForm.php
protected function getAccountFields()
    {
        return array(
            Tag::ContractCode => array(
                'type' => 'text',
                'label' => $this->t('field_code'),
                'attributes' => array(
                    'required' => true,
                    'size' => 20,
                ),
            ),
            Tag::UserName => array(
                'type' => 'text',
                'label' => $this->t('field_username'),
                'attributes' => array(
                    'required' => true,
                    'size' => 20,
                ),
            ),
            Tag::Password => array(
                'type' => 'password',
                'label' => $this->t('field_password'),
                'attributes' => array(
                    'required' => true,
                    'size' => 20,
                ),
            ),
            Tag::EmailOnError => array(
                'type' => 'email',
                'label' => $this->t('field_emailonerror'),
                'description' => $this->t('desc_emailonerror'),
                'attributes' => array(
                    'required' => true,
                    'size' => 20,
                ),
            ),
        );
    }
protected function getAccountFields()
    {
        return array(
            Tag::ContractCode => array(
                'type' => 'text',
                'label' => $this->t('field_code'),
                'attributes' => array(
                    'required' => true,
                    'size' => 20,
                ),
            ),
            Tag::UserName => array(
                'type' => 'text',
                'label' => $this->t('field_username'),
                'attributes' => array(
                    'required' => true,
                    'size' => 20,
                ),
            ),
            Tag::Password => array(
                'type' => 'password',
                'label' => $this->t('field_password'),
                'attributes' => array(
                    'required' => true,
                    'size' => 20,
                ),
            ),
            Tag::EmailOnError => array(
                'type' => 'email',
                'label' => $this->t('field_emailonerror'),
                'description' => $this->t('desc_emailonerror'),
                'attributes' => array(
                    'required' => true,
                    'size' => 20,
                ),
            ),
        );
    }
protected function getAccountFields ( ) { return array ( Tag :: ContractCode => array ( 'type' => 'text' , 'label' => $ this -> t ( 'field_code' ) , 'attributes' => array ( 'required' => true , 'size' => 20 , ) , ) , Tag :: UserName => array ( 'type' => 'text' , 'label' => $ this -> t ( 'field_username' ) , 'attributes' => array ( 'required' => true , 'size' => 20 , ) , ) , Tag :: Password => array ( 'type' => 'password' , 'label' => $ this -> t ( 'field_password' ) , 'attributes' => array ( 'required' => true , 'size' => 20 , ) , ) , Tag :: EmailOnError => array ( 'type' => 'email' , 'label' => $ this -> t ( 'field_emailonerror' ) , 'description' => $ this -> t ( 'desc_emailonerror' ) , 'attributes' => array ( 'required' => true , 'size' => 20 , ) , ) , ) ; }
Returns the set of account related fields.

The fields returned:
- contractcode
- username
- password
- emailonerror

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