CoolCMS API

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

$adminFormActionsFactory  : FormActionsFactory
$adminLangNavFactory  : LangNavFactory

Methods

createComponentAdminFormActions()  : FormActions
createComponentAdminLangNav()  : LangNav

Properties

Methods

On this page

Search results