Events¶
ModifyPagesEvent¶
pw_teaser provides an event to modify the pages array result, before reaching to view.
For this, you need to provide an EventListener in your extension. For example:
Also, you need to register YourListener
in EventDispatcher. You can do this in the Configuration/Services.yaml
file: