class CustomFormField extends AbstractField (View source)

CustomFormField entities are used to create CustomForms with custom data structure.

Properties

static array $typeToHuman Associates custom form field type to a readable string.

Methods

$this
setLabel(string $label)

No description

CustomForm|null
getCustomForm()

No description

$this
setCustomForm(CustomForm $customForm = null)

No description

ArrayCollection
getCustomFormFieldAttribute()

No description

__construct()

CustomFormField constructor.

boolean
isRequired()

No description

$this
setRequired(boolean $required)

No description

string
getOneLineSummary()

No description

__clone()

No description

Details

$this setLabel(string $label)

Parameters

string $label

Return Value

$this

CustomForm|null getCustomForm()

Return Value

CustomForm|null

$this setCustomForm(CustomForm $customForm = null)

Parameters

CustomForm $customForm

Return Value

$this

ArrayCollection getCustomFormFieldAttribute()

Return Value

ArrayCollection

__construct()

CustomFormField constructor.

boolean isRequired()

Return Value

boolean $isRequired

$this setRequired(boolean $required)

Parameters

boolean $required

Return Value

$this

string getOneLineSummary()

Return Value

string

__clone()