src/FormHandler.php
protected function getDefaultOptions(array $fields)
    {
        $fieldsUpdated = array();
        foreach ($fields as $fieldName => $field) {
            $fieldsUpdated[$fieldName] = $this->typeHandler->getDefaultOptions($field);
        }

        return $fieldsUpdated;
    }
protected function getDefaultOptions(array $fields)
    {
        $fieldsUpdated = array();
        foreach ($fields as $fieldName => $field) {
            $fieldsUpdated[$fieldName] = $this->typeHandler->getDefaultOptions($field);
        }

        return $fieldsUpdated;
    }
protected function getDefaultOptions ( array $ fields ) { $ fieldsUpdated = array ( ) ; foreach ( $ fields as $ fieldName => $ field ) { $ fieldsUpdated [ $ fieldName ] = $ this -> typeHandler -> getDefaultOptions ( $ field ) ; } return $ fieldsUpdated ; }
Get the default options for the fields for their type

@param $fields array An array of field data
@return array The fields, updated with default data
Get the default options for the fields for their type