- 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
25 lines
591 B
YAML
25 lines
591 B
YAML
# ===================================
|
|
# 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
|