AdminEditFormComponentsTrait
Shared components of a multilingual edit form: language tabs and action buttons.
Usage (every admin presenter with an edit form uses the trait; the template renders):
{control adminLangNav $languages, $form}
{control adminFormActions $presenter->getFormBackUrl($form['backKey']->getValue())}
Table of Contents
Properties
Methods
Properties
$adminFormActionsFactory
public
FormActionsFactory
$adminFormActionsFactory
Attributes
- #[Inject]
$adminLangNavFactory
public
LangNavFactory
$adminLangNavFactory
Attributes
- #[Inject]
Methods
createComponentAdminFormActions()
protected
createComponentAdminFormActions() : FormActions
Return values
FormActionscreateComponentAdminLangNav()
protected
createComponentAdminLangNav() : LangNav