Commit af9181d0 authored by Chris Müller's avatar Chris Müller Committed by Christian Kuhn
Browse files

[TASK] Correct formatting of example in deprecation rst

Resolves: #92854
Related: #92062
Releases: master
Change-Id: I416d747877aa3d7f56e8ddbd3438db27576c0ce4
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66645


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent b6f88474
......@@ -50,12 +50,14 @@ The event object is used as parameter for the event listener method (default is
The listener needs to be registered in the extension: :file:`EXT:myext/Configuration/Services.yaml`.
Example:
.. codeblock:: yaml
My\Extension\Provider\MyAdditionalContentProvider:
tags:
- name: event.listener
identifier: 'my-additional-content'
event: TYPO3\CMS\Recordlist\Event\RenderAdditionalContentToRecordListEvent
.. code-block:: yaml
My\Extension\Provider\MyAdditionalContentProvider:
tags:
- name: event.listener
identifier: 'my-additional-content'
event: TYPO3\CMS\Recordlist\Event\RenderAdditionalContentToRecordListEvent
Please have a look at :php:`TYPO3\CMS\SysNote\Provider\RecordListProvider` as an example for the
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment