/state/edit
A view of the state module, defined in kernel/state/module.php and run by kernel/state/edit.php.
Address
/state/edit/<GroupIdentifier>/<StateIdentifier>Ordered parameters, in this order after the view name: GroupIdentifier, StateIdentifier.
Who may open it
The user needs this policy function:
A policy on state/* (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 | edit |
| Single POST actions | StoreButton: Store, CancelButton: Cancel |
Example
A link in a template (ezurl adds the siteaccess and quotes the address); the parameter values are placeholders:
<a href='/state/edit/groupidentifier/stateidentifier'|ezurl>state/edit</a>From PHP, the redirect a view gives after it has done its work:
return $Module->redirectTo( '/state/edit/groupidentifier/stateidentifier' );Related
Generated by ./console exp:help:examples from kernel/state/module.php, kernel/state/edit.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.