Skip to content

Commit

Permalink
docs: add comment in DI configuration
Browse files Browse the repository at this point in the history
Resolves: #9
  • Loading branch information
brotkrueml committed Aug 5, 2024
1 parent 1039989 commit 2cf6126
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/Events/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@ Registration of the event listener:
:caption: EXT:your_extension/Configuration/Services.yaml
services:
# Place here the default dependency injection configuration
YourVendor\YourExtension\EventListener\FormRateLimitExceededLogger:
tags:
- name: event.listener
identifier: 'yourFormRateLimitExceededLogger'
Read :ref:`how to configure dependency injection in extensions <t3coreapi:dependency-injection-in-extensions>`.

0 comments on commit 2cf6126

Please sign in to comment.