Blueprints/src/BlueprintForm.php
public function fields()
    {
        $fields = $this->get('form/fields');

        if ($fields === null) {
            $field = $this->get('form/field');
            $fields = $field !== null ? ['' => (array) $field] : $fields;
        }

        return (array) $fields;
    }
public function fields()
    {
        $fields = $this->get('form/fields');

        if ($fields === null) {
            $field = $this->get('form/field');
            $fields = $field !== null ? ['' => (array) $field] : $fields;
        }

        return (array) $fields;
    }
public function fields ( ) { $ fields = $ this -> get ( 'form/fields' ) ; if ( $ fields === null ) { $ field = $ this -> get ( 'form/field' ) ; $ fields = $ field !== null ? [ '' => ( array ) $ field ] : $ fields ; } return ( array ) $ fields ; }
Get form fields.

@return array
Get form fields .