class CustomFormsType extends AbstractType (View source)

Class CustomFormsType

Properties

protected $customForm
protected $forceExpanded

Methods

__construct(CustomForm $customForm, boolean $forceExpanded = false)

No description

buildForm(FormBuilderInterface $builder, array $options)

No description

array
getFieldsByGroups()

No description

$this
addSingleField(FormBuilderInterface $builder, CustomFormField $field)

No description

MarkdownType|string
getTypeForField(CustomFormField $field)

No description

array
getOptionsForField(CustomFormField $field)

No description

array
getChoices(CustomFormField $field)

No description

configureOptions(OptionsResolver $optionsResolver)

No description

string
getName()

No description

Details

__construct(CustomForm $customForm, boolean $forceExpanded = false)

Parameters

CustomForm $customForm
boolean $forceExpanded

buildForm(FormBuilderInterface $builder, array $options)

Parameters

FormBuilderInterface $builder
array $options

protected array getFieldsByGroups()

Return Value

array

protected $this addSingleField(FormBuilderInterface $builder, CustomFormField $field)

Parameters

FormBuilderInterface $builder
CustomFormField $field

Return Value

$this

protected MarkdownType|string getTypeForField(CustomFormField $field)

Parameters

CustomFormField $field

Return Value

MarkdownType|string

protected array getOptionsForField(CustomFormField $field)

Parameters

CustomFormField $field

Return Value

array

protected array getChoices(CustomFormField $field)

Parameters

CustomFormField $field

Return Value

array

configureOptions(OptionsResolver $optionsResolver)

Parameters

OptionsResolver $optionsResolver

string getName()

Return Value

string