SupplyKindFormTrait
Supply kind form — translated name + help text, machine key, legal nature (enum select), default flag, sort, active.
Table of Contents
Methods
- createComponentEditForm() : Form
- addSupplyKindSettingsFields() : void
- addSupplyKindTranslationFields() : void
- saveSupplyKindForm() : bool
- setSupplyKindFormDefaults() : void
Methods
createComponentEditForm()
protected
createComponentEditForm() : Form
Return values
FormaddSupplyKindSettingsFields()
private
addSupplyKindSettingsFields(Form $form) : void
Parameters
- $form : Form
addSupplyKindTranslationFields()
private
addSupplyKindTranslationFields(Form $form) : void
Parameters
- $form : Form
saveSupplyKindForm()
private
saveSupplyKindForm(ArrayHash<string|int, mixed> $values) : bool
Parameters
- $values : ArrayHash<string|int, mixed>
Return values
boolsetSupplyKindFormDefaults()
private
setSupplyKindFormDefaults(Form $form) : void
Parameters
- $form : Form