123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <?php
- return [
- '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
- 'filename' => '/mnt/data/Sites/static-ethica.net/user/plugins/langswitcher/blueprints.yaml',
- 'modified' => 1520021428,
- 'data' => [
- 'name' => 'LangSwitcher',
- 'version' => '1.4.0',
- '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.',
- 'icon' => 'globe',
- 'author' => [
- 'name' => 'Team Grav',
- 'email' => 'devs@getgrav.org',
- 'url' => 'http://getgrav.org'
- ],
- 'homepage' => 'https://github.com/getgrav/grav-plugin-langswitcher',
- 'keywords' => 'mulitlang, multilanguage, translation, switcher',
- 'bugs' => 'https://github.com/getgrav/grav-plugin-langswitcher/issues',
- 'license' => 'MIT',
- 'form' => [
- 'validation' => 'strict',
- 'fields' => [
- 'enabled' => [
- 'type' => 'toggle',
- 'label' => 'Plugin status',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'built_in_css' => [
- 'type' => 'toggle',
- 'label' => 'Use built in CSS',
- 'highlight' => 1,
- 'default' => 1,
- 'options' => [
- 1 => 'Enabled',
- 0 => 'Disabled'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ],
- 'untranslated_pages_behavior' => [
- 'type' => 'select',
- 'label' => 'Untranslated pages behavior',
- '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.',
- 'default' => 'none',
- 'options' => [
- 'none' => 'Show language (default)',
- 'redirect' => 'Show language, link to home route',
- 'hide' => 'Hide language'
- ]
- ]
- ]
- ]
- ]
- ];
|