feat(17-03): sitemap admin, permissions, lang and README
- definitions singleton controller (theme default, first or create) with a repeater on data: type dropdown (url plus registry types), reference dependsOn type through signpost.ReferenceOptions - Settings page entries: Sitemap (link to the controller) and Sitemap settings (form), both behind golem15.sitemap.access_definitions - en and pl phrasebooks with the PHP keys - README with the PHP parity rules, tiers, hooks, commands and the Winter YAML adaptations - TestSitemapAdminSmoke: singleton, PHP-keyed rows, 422 on a foreign reference, settings save, 403 without the permission
This commit is contained in:
24
controllers/definitions/config_form.yaml
Normal file
24
controllers/definitions/config_form.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
# ===================================
|
||||
# Form Behavior Config
|
||||
# ===================================
|
||||
|
||||
# Record name
|
||||
name: golem15.sitemap::lang.definition.title
|
||||
|
||||
# Model Form Field configuration
|
||||
form: ~/plugins/golem15/sitemap/models/definition/fields.yaml
|
||||
|
||||
# Model Class name
|
||||
modelClass: Golem15\Sitemap\Models\Definition
|
||||
|
||||
# Default redirect location
|
||||
defaultRedirect: system/settings
|
||||
|
||||
# Update page
|
||||
update:
|
||||
redirect: golem15/sitemap/definitions
|
||||
redirectClose: system/settings
|
||||
|
||||
messages:
|
||||
update: golem15.sitemap::lang.definition.title
|
||||
saved: backend::lang.messages.form.saved
|
||||
Reference in New Issue
Block a user