From f7cbfbff8cbc333f51cd018a75666303165af02b Mon Sep 17 00:00:00 2001 From: Phablulo Date: Sun, 16 Jan 2022 12:11:34 -0300 Subject: [PATCH] [COMPONENT][Collection] Add event to render html before drawing feed --- components/Collection/templates/collection/notes.html.twig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/Collection/templates/collection/notes.html.twig b/components/Collection/templates/collection/notes.html.twig index 82d4c238db..a227295318 100644 --- a/components/Collection/templates/collection/notes.html.twig +++ b/components/Collection/templates/collection/notes.html.twig @@ -9,6 +9,10 @@ {% endblock stylesheets %} {% block body %} + {% for block in handle_event('BeforeFeed', app.request) %} + {{ block | raw }} + {% endfor %} +
{% if page_title is defined %}

{{ page_title | trans }}