marc-leopold/cms/plugins/graker/photoalbums/controllers/photos/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.photo
# Model Form Field configuration
form: $/graker/photoalbums/models/photo/fields.yaml
# Model Class name
modelClass: Graker\PhotoAlbums\Models\Photo
# Default redirect location
defaultRedirect: graker/photoalbums/photos
# Create page
create:
title: graker.photoalbums::lang.plugin.create_photo
redirect: graker/photoalbums/photos/update/:id
redirectClose: graker/photoalbums/photos
# Update page
update:
title: graker.photoalbums::lang.plugin.edit_photo
redirect: graker/photoalbums/photos
redirectClose: graker/photoalbums/photos
# Preview page
preview:
title: graker.photoalbums::lang.plugin.preview_photo