Skip to content

Commit

Permalink
[DOCS] Fix code examples in changelog
Browse files Browse the repository at this point in the history
Additionally remove an outdated warning.

Resolves: #101490
Related: #99220
Releases: main, 12.4
Change-Id: I0943ffa2097bd5284aa91d0bb6180a789e28e89f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80222
Reviewed-by: Chris M�ller <typo3@krue.ml>
Tested-by: Chris M�ller <typo3@krue.ml>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
  • Loading branch information
o-ba authored and lolli42 committed Jul 30, 2023
1 parent 7eefd95 commit b401490
Showing 1 changed file with 5 additions and 7 deletions.
Expand Up @@ -28,12 +28,11 @@ custom actions.
Example
-------

.. warning::
Some code in this example is experimental API and may change until TYPO3 v12 LTS.

.. code-block:: php
:caption: EXT:my_extension/Classes/Search/EventListener/AddLiveSearchResultActionsListener.php
<?php
namespace MyVendor\MyExtension\Search\EventListener;
use TYPO3\CMS\Backend\Routing\UriBuilder;
Expand Down Expand Up @@ -84,9 +83,8 @@ Example
:caption: EXT:my_extension/Configuration/Services.yaml
MyVendor\MyExtension\Search\EventListener\AddLiveSearchResultActionsListener:
tags:
-
name: event.listener
identifier: 'my-extension/add-live-search-result-actions-listener'
tags:
- name: event.listener
identifier: 'site/add-live-search-result-actions-listener'
.. index:: Backend, ext:backend

0 comments on commit b401490

Please sign in to comment.