12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?php
- return [
- '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
- 'filename' => '/mnt/data/Sites/static-ethica.net/user/plugins/admin/blueprints/config/media.yaml',
- 'modified' => 1520021428,
- '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'
- ]
- ]
- ]
- ]
- ]
- ]
- ]
- ];
|