forked from prugala/tuna-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
104 lines (94 loc) · 3.33 KB
/
config.yml
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
imports:
- { resource: "../../src/Tuna/Bundle/EditorBundle/Resources/config/config.yml" }
- { resource: "@TunaCMSAdminBundle/Resources/config/doctrine_extensions.yml" }
- { resource: "@A2lixTranslationFormBundle/Resources/config/gedmo.xml" } # this is needed because A2lixTranslationFormBundle doesn't append this file if stof_doctrine_extensions isn't used (lame!)
- { resource: '@TunaCMSAdminBundle/Resources/config/a2lix_translation_form.yml' } # this is needed because gedmo.xml is using non-existing stof services (lame! part2)
a2lix_translation_form:
locales: "%tuna_cms_admin.locales%"
knp_paginator:
page_range: 5
template:
pagination: "TunaCMSAdminBundle:_partials/pagination.html.twig"
jms_translation:
configs:
app:
dirs: ["%kernel.root_dir%", "%kernel.root_dir%/../src"]
output_dir: "%kernel.root_dir%/Resources/translations"
ignored_domains: [routes]
excluded_dirs: [cache, data, logs]
liip_imagine:
driver: gd
cache: tuna
data_loader: tuna
resolvers:
tuna:
web_path: ~
loaders:
tuna:
filesystem: ~
filter_sets:
tuna_admin_thumb:
data_loader: tuna
cache: tuna
quality: 90
filters:
upscale: { min: [280, 196] }
thumbnail: { size: [280, 196], mode: outbound }
tuna_gallery_thumb:
data_loader: tuna
cache: tuna
quality: 90
filters:
upscale: { min: [160, 120] }
thumbnail: { size: [160, 120], mode: outbound }
tuna_gallery_full:
data_loader: tuna
cache: tuna
quality: 90
filters:
thumbnail: { size: [1900, 1200], mode: inset }
bazinga_js_translation:
default_domain: tuna_admin
active_domains:
- tuna_admin
jms_i18n_routing:
default_locale: "%tuna_cms_admin.locale%"
locales: "%tuna_cms_admin.locales%"
strategy: prefix
fos_js_routing:
routes_to_expose: [ '_image_upload_request' ]
assetic:
debug: "%kernel.debug%"
use_controller: false
bundles:
- TunaCMSAdminBundle
ruby: ~
filters:
cssrewrite: ~
sass:
load_paths:
- "%tuna_cms_admin.components.editor.wysiwyg_style_dir%"
apply_to: "\\.s[ac]ss$"
bin: "%sass_bin%"
doctrine:
orm:
mappings:
translatable:
type: annotation
prefix: Gedmo\Translatable\Entity
dir: "%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Translatable/Entity/MappedSuperclass"
alias: GedmoTranslatable # (optional) it will default to the name set for the mapping
is_bundle: false
tree:
type: annotation
prefix: Gedmo\Tree\Entity
dir: "%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Tree/Entity"
is_bundle: false
lexik_translation:
fallback_locale: ["%tuna_cms_admin.locale%"]
managed_locales: "%tuna_cms_admin.locales%"
base_layout: "TunaCMSAdminBundle::translation_layout.html.twig"
grid_input_type: textarea
resources_registration:
type: all
managed_locales_only: false