/content/translations
A view of the content module, defined in kernel/content/module.php and run by kernel/content/translations.php.
Address
/content/translations/<TranslationID>Ordered parameters, in this order after the view name: TranslationID.
Who may open it
The user needs this policy function:
A policy on content/* (every function) also grants it; limitations of the policy (section, subtree, class ...) still apply where the view checks them.
Details
| Key | Value |
|---|---|
| Navigation part | ezsetupnavigationpart |
| UI context | administration |
| Single POST actions | RemoveButton: Remove, StoreButton: StoreNew, NewButton: New, ConfirmButton: Confirm |
| POST action parameters | StoreNew (LocaleID: LocaleID, TranslationName: TranslationName, TranslationLocale: TranslationLocale), Remove (SelectedTranslationList: DeleteIDArray), Confirm (ConfirmList: ConfirmTranlationID) |
Example
A link in a template (ezurl adds the siteaccess and quotes the address); the parameter values are placeholders:
<a href='/content/translations/1'|ezurl>content/translations</a>From PHP, the redirect a view gives after it has done its work:
return $Module->redirectTo( '/content/translations/1' );Related
Generated by ./console exp:help:examples from kernel/content/module.php, kernel/content/translations.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.