GroupsTrait
Table of Contents
Methods
- addParameterControlsToGroup() : void
- Adds the parameter control(s) to the group.
- getParameterGroupLabel() : string
- insertFormElementsIntoGroups() : void
Methods
addParameterControlsToGroup()
Adds the parameter control(s) to the group.
private
addParameterControlsToGroup(Form $form, ControlGroup $group, string $key) : void
Most types have one control at $key; multi-field types (range) have {key}_from and {key}_to.
Parameters
- $form : Form
- $group : ControlGroup
- $key : string
getParameterGroupLabel()
private
getParameterGroupLabel(ParameterGroupInterface $parameterGroup) : string
Parameters
- $parameterGroup : ParameterGroupInterface
Return values
stringinsertFormElementsIntoGroups()
private
insertFormElementsIntoGroups(Form $form) : void
Parameters
- $form : Form