mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
replacing delegated_block api by widget api
This commit is contained in:
@@ -58,8 +58,8 @@ services:
|
||||
tags:
|
||||
- { name: twig.extension }
|
||||
|
||||
chill.main.twig.delegated_block:
|
||||
class: Chill\MainBundle\Templating\DelegatedBlockRenderingTwig
|
||||
chill.main.twig.widget:
|
||||
class: Chill\MainBundle\Templating\Widget\WidgetRenderingTwig
|
||||
arguments:
|
||||
- "@event_dispatcher"
|
||||
tags:
|
||||
|
@@ -137,6 +137,10 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="homepage_widget">
|
||||
{{ chill_delegated_block('homepage', {} ) }}
|
||||
</div>
|
||||
|
||||
<div style="padding-top:2em; padding-bottom:2em;">
|
||||
{{ chill_menu('homepage', {
|
||||
|
Reference in New Issue
Block a user