c3b933599651230510f7c61e73d8ebc7.yaml.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?php
  2. return [
  3. '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
  4. 'filename' => '/home/kevin/Documents/Sites/hehe.net/user/plugins/admin/blueprints/config/media.yaml',
  5. 'modified' => 1546440944,
  6. 'data' => [
  7. 'title' => 'PLUGIN_ADMIN.MEDIA',
  8. 'form' => [
  9. 'validation' => 'loose',
  10. 'fields' => [
  11. 'types' => [
  12. 'name' => 'medias',
  13. 'type' => 'list',
  14. 'label' => 'PLUGIN_ADMIN.MEDIA_TYPES',
  15. 'style' => 'vertical',
  16. 'key' => 'extension',
  17. 'controls' => 'both',
  18. 'collapsed' => true,
  19. 'fields' => [
  20. '.extension' => [
  21. 'type' => 'key',
  22. 'label' => 'PLUGIN_ADMIN.FILE_EXTENSION'
  23. ],
  24. '.type' => [
  25. 'type' => 'text',
  26. 'label' => 'PLUGIN_ADMIN.TYPE'
  27. ],
  28. '.thumb' => [
  29. 'type' => 'text',
  30. 'label' => 'PLUGIN_ADMIN.THUMB'
  31. ],
  32. '.mime' => [
  33. 'type' => 'text',
  34. 'label' => 'PLUGIN_ADMIN.MIME_TYPE',
  35. 'validate' => [
  36. 'type' => 'lower'
  37. ]
  38. ],
  39. '.image' => [
  40. 'type' => 'textarea',
  41. 'yaml' => true,
  42. 'label' => 'PLUGIN_ADMIN.IMAGE_OPTIONS',
  43. 'validate' => [
  44. 'type' => 'yaml'
  45. ]
  46. ]
  47. ]
  48. ]
  49. ]
  50. ]
  51. ]
  52. ];