feat(demo): add story 1 — Sorano: Rock and Time

This commit is contained in:
2026-06-20 21:19:57 +02:00
parent 42ed59a6b3
commit 8f87155c1d
5508 changed files with 1595740 additions and 124 deletions
+76
View File
@@ -0,0 +1,76 @@
name: Flex Objects
slug: flex-objects
type: plugin
testing: true
version: 1.4.0-rc.7
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
compatibility:
grav: ["2.0"]
dependencies:
- { name: grav, version: ">=2.0.0-rc.1" }
- { name: form, version: ">=6.0.0" }
- { name: api, version: ">=1.0.0-rc.14" }
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
security_section:
type: section
title: Security
underline: true
security.restrict_page_frontmatter:
type: toggle
label: Restrict Page Frontmatter Editing
help: When enabled, non-superusers cannot modify form, forms, process, or twig settings in page headers. Disable if editors need to modify forms.
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
directories:
type: flex-objects
label: PLUGIN_FLEX_OBJECTS.DIRECTORIES
array: true
ignore_empty: true
validate:
type: array