marc-leopold/server/plugins/graker/photoalbums/controllers/albums/config_form.yaml

31 lines
799 B
YAML
Raw Normal View History

2019-02-25 14:56:59 +00:00
# ===================================
# Form Behavior Config
# ===================================
# Record name
name: graker.photoalbums::lang.plugin.album
# Model Form Field configuration
form: $/graker/photoalbums/models/album/fields.yaml
# Model Class name
modelClass: Graker\Photoalbums\Models\Album
# Default redirect location
defaultRedirect: graker/photoalbums/albums
# Create page
create:
title: graker.photoalbums::lang.plugin.create_album
redirect: graker/photoalbums/albums/update/:id
redirectClose: graker/photoalbums/albums
# Update page
update:
title: graker.photoalbums::lang.plugin.edit_album
redirect: graker/photoalbums/albums
redirectClose: graker/photoalbums/albums
# Preview page
preview:
title: graker.photoalbums::lang.plugin.preview_album