5419f1192fa49c073a562818f7ebaacd.yaml.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?php
  2. return [
  3. '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
  4. 'filename' => '/mnt/data/Sites/static-ethica.net/user/plugins/langswitcher/blueprints.yaml',
  5. 'modified' => 1520021428,
  6. 'data' => [
  7. 'name' => 'LangSwitcher',
  8. 'version' => '1.4.0',
  9. 'description' => 'LangSwitcher is a [Grav](http://github.com/getgrav/grav) plugin that provides native language text links to switch between [multiple languages](http://learn.getgrav.org/content/multi-language) in Grav **v0.9.30** or greater.',
  10. 'icon' => 'globe',
  11. 'author' => [
  12. 'name' => 'Team Grav',
  13. 'email' => 'devs@getgrav.org',
  14. 'url' => 'http://getgrav.org'
  15. ],
  16. 'homepage' => 'https://github.com/getgrav/grav-plugin-langswitcher',
  17. 'keywords' => 'mulitlang, multilanguage, translation, switcher',
  18. 'bugs' => 'https://github.com/getgrav/grav-plugin-langswitcher/issues',
  19. 'license' => 'MIT',
  20. 'form' => [
  21. 'validation' => 'strict',
  22. 'fields' => [
  23. 'enabled' => [
  24. 'type' => 'toggle',
  25. 'label' => 'Plugin status',
  26. 'highlight' => 1,
  27. 'default' => 1,
  28. 'options' => [
  29. 1 => 'Enabled',
  30. 0 => 'Disabled'
  31. ],
  32. 'validate' => [
  33. 'type' => 'bool'
  34. ]
  35. ],
  36. 'built_in_css' => [
  37. 'type' => 'toggle',
  38. 'label' => 'Use built in CSS',
  39. 'highlight' => 1,
  40. 'default' => 1,
  41. 'options' => [
  42. 1 => 'Enabled',
  43. 0 => 'Disabled'
  44. ],
  45. 'validate' => [
  46. 'type' => 'bool'
  47. ]
  48. ],
  49. 'untranslated_pages_behavior' => [
  50. 'type' => 'select',
  51. 'label' => 'Untranslated pages behavior',
  52. 'help' => 'Determine what to do with a language link when the current page doesn\'t exist in that language or it exists but it\'s not published.',
  53. 'default' => 'none',
  54. 'options' => [
  55. 'none' => 'Show language (default)',
  56. 'redirect' => 'Show language, link to home route',
  57. 'hide' => 'Hide language'
  58. ]
  59. ]
  60. ]
  61. ]
  62. ]
  63. ];