-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
78 lines (65 loc) · 2.06 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?php
return [
'name' => 'bixie/languagemanager',
'type' => 'extension',
'main' => 'Bixie\\Languagemanager\\LanguagemanagerModule',
'autoload' => [
'Bixie\\Languagemanager\\' => 'src'
],
'routes' => [
'/languagemanager' => [
'name' => '@languagemanager',
'controller' => [
'Bixie\\Languagemanager\\Controller\\LanguagemanagerController',
'Bixie\\Languagemanager\\Controller\\TranslationController',
]
],
'/api/languagemanager' => [
'name' => '@languagemanager/api',
'controller' => [
'Bixie\\Languagemanager\\Controller\\TranslationApiController'
]
],
],
'widgets' => [
'widgets/language-select.php',
],
'resources' => [
'bixie/languagemanager:' => ''
],
'config' => [
'default_locale' => [
'flag' => '',
],
'locales' => [],
],
'menu' => [
'languagemanager' => [
'label' => 'Languagemanager',
'icon' => 'packages/bixie/languagemanager/icon.svg',
'url' => '@languagemanager/translations',
'access' => 'languagemanager: use languagemanager',
'active' => '@languagemanager(/*)'
],
'languagemanager: translations' => [
'label' => 'Translations',
'parent' => 'languagemanager',
'url' => '@languagemanager/translations',
'access' => '',
'active' => '@languagemanager/(translations|translation/edit)'
],
'languagemanager: settings' => [
'label' => 'Settings',
'parent' => 'languagemanager',
'url' => '@languagemanager/settings',
'access' => 'system: access settings',
'active' => '@languagemanager/settings'
]
],
'permissions' => [
'languagemanager: use languagemanager' => [
'title' => 'Use languagemanager'
]
],
'settings' => '@languagemanager/settings',
];