This commit is contained in:
2018-07-02 15:42:28 +02:00
parent b620f9f5b3
commit 8f1bbd2135
10 changed files with 67 additions and 38 deletions
@@ -0,0 +1,52 @@
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/mnt/data/Sites/r2c.net/user/plugins/admin/blueprints/config/media.yaml',
'modified' => 1529476888,
'data' => [
'title' => 'PLUGIN_ADMIN.MEDIA',
'form' => [
'validation' => 'loose',
'fields' => [
'types' => [
'name' => 'medias',
'type' => 'list',
'label' => 'PLUGIN_ADMIN.MEDIA_TYPES',
'style' => 'vertical',
'key' => 'extension',
'controls' => 'both',
'collapsed' => true,
'fields' => [
'.extension' => [
'type' => 'key',
'label' => 'PLUGIN_ADMIN.FILE_EXTENSION'
],
'.type' => [
'type' => 'text',
'label' => 'PLUGIN_ADMIN.TYPE'
],
'.thumb' => [
'type' => 'text',
'label' => 'PLUGIN_ADMIN.THUMB'
],
'.mime' => [
'type' => 'text',
'label' => 'PLUGIN_ADMIN.MIME_TYPE',
'validate' => [
'type' => 'lower'
]
],
'.image' => [
'type' => 'textarea',
'yaml' => true,
'label' => 'PLUGIN_ADMIN.IMAGE_OPTIONS',
'validate' => [
'type' => 'yaml'
]
]
]
]
]
]
]
];