grav/plugins/flex-objects/blueprints.yaml

56 lines
1.4 KiB
YAML

name: Flex Objects
slug: flex-objects
type: plugin
version: 1.3.3
description: Flex Objects plugin allows you to manage Flex Objects in Grav Admin.
icon: list-alt
author:
name: Trilby Media
email: hello@trilby.media
homepage: https://github.com/trilbymedia/grav-plugin-flex-objects
keywords: grav, plugin, crud, directory
bugs: https://github.com/trilbymedia/grav-plugin-flex-objects/issues
docs: https://github.com/trilbymedia/grav-plugin-flex-objects/blob/develop/README.md
license: MIT
dependencies:
- { name: grav, version: '>=1.7.32' }
- { name: form, version: '>=6.0.0' }
form:
validation: loose
fields:
enabled:
type: toggle
label: PLUGIN_ADMIN.PLUGIN_STATUS
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
built_in_css:
type: toggle
label: PLUGIN_FLEX_OBJECTS.USE_BUILT_IN_CSS
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
extra_admin_twig_path:
type: text
label: PLUGIN_FLEX_OBJECTS.EXTRA_ADMIN_TWIG_PATH
validate:
required: true
directories:
type: flex-objects
label: PLUGIN_FLEX_OBJECTS.DIRECTORIES
array: true
ignore_empty: true
validate:
type: array