mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
documenting chill_block.person_post_vertical_menu event/delegated block
This commit is contained in:
parent
4f1a47c920
commit
2b0bb364f5
@ -135,4 +135,18 @@ Example usage :
|
|||||||
{% import "ChillPersonBundle:Person:macro.html.twig" as person_ %}
|
{% import "ChillPersonBundle:Person:macro.html.twig" as person_ %}
|
||||||
|
|
||||||
{{ person_.render(person, true) }}
|
{{ person_.render(person, true) }}
|
||||||
|
|
||||||
|
Layout events and delegated blocks
|
||||||
|
***********************************
|
||||||
|
|
||||||
|
:code:`chill_block.person_post_vertical_menu` event
|
||||||
|
====================================================
|
||||||
|
|
||||||
|
This event is available to add content below of the vertical menu (on the right).
|
||||||
|
|
||||||
|
The context is :
|
||||||
|
|
||||||
|
- :code:`person` : the current person which is rendered. Instance of :class:`Chill\PersonBundle\Entity\Person`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user