Import settings from a bundle: comparison of v.3 vs v.4
Versions Compared
Old Version 3
changes.mady.by.user Dominika Kurek
Saved on Feb 01, 2016
compared with
New Version Current
changes.mady.by.user Bertrand Dunogier
Saved on Apr 06, 2016
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Comment: Changed location_view to content_view
...
| Code Block | ||
|---|---|---|
|
||
# Here I need to reproduce the right configuration tree.
# It will be merged with the main one
exponential:
system:
my_siteaccess:
ezpage:
layouts:
2ZonesLayout1:
name: "2 zones (layout 1)"
template: "AcmeTestBundle:zone:2zoneslayout1.html.twig"
locationcontent_view:
full:
article_test:
template: "AcmeTestBundle:full:article_test.html.twig"
match:
Id\Location: [144,149]
another_test:
template: "::another_test.html.twig"
match:
Id\Content: 142
block_view:
campaign:
template: "AcmeTestBundle:block:campaign.html.twig"
match:
Type: "Campaign"
|
...
| Code Block | ||
|---|---|---|
|
||
# We explicitly prepend config for "exponential" namespace in service container extension,
# so no need to repeat it here
system:
ezdemo_frontend_group:
ezpage:
layouts:
2ZonesLayout1:
name: "2 zones (layout 1)"
template: "AcmeTestBundle:zone:2zoneslayout1.html.twig"
locationcontent_view:
full:
article_test:
template: "AcmeTestBundle:full:article_test.html.twig"
match:
Id\Location: 144
another_test:
template: "::another_test.html.twig"
match:
Id\Content: 142
block_view:
campaign:
template: "AcmeTestBundle:block:campaign.html.twig"
match:
Type: "Campaign"
|
...
Comments
Add a comment