Skip to content

Commit

Permalink
[Backport 13.4] [FEATURE] Allow modifying fetched page content (#1473)
Browse files Browse the repository at this point in the history
* [FEATURE] Allow modifying fetched page content

Resolves: TYPO3-Documentation/Changelog-To-Doc#1165
Releases: main, 13.4

* Update Documentation/DataProcessing/PageContentFetchingProcessor.rst

Co-authored-by: Stefan Frömken <froemken@gmail.com>

---------

Co-authored-by: lina.wolf <lwolf@w-commerce.de>
Co-authored-by: Lina Wolf <48202465+linawolf@users.noreply.github.com>
Co-authored-by: Stefan Frömken <froemken@gmail.com>
  • Loading branch information
4 people authored Dec 11, 2024
1 parent 94c64d7 commit ab2d30c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Documentation/DataProcessing/PageContentFetchingProcessor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,20 @@ The :ref:`backend layout <t3coreapi:be-layout>` is defined like this:

.. literalinclude:: _PageContentFetchingProcessor/_BackendLayout.tsconfig
:caption: config/sites/my-site/page.tsconfig

.. _PageContentFetchingProcessor-AfterContentHasBeenFetchedEvent:

Modify the result via AfterContentHasBeenFetchedEvent
=====================================================

.. versionadded:: 13.4.2 | 14.0
The event `AfterContentHasBeenFetchedEvent <https://docs.typo3.org/permalink/t3coreapi:aftercontenthasbeenfetchedevent>`_
has been introduced to adjust the page content fetched by the `page-content`
data processor.

The event `AfterContentHasBeenFetchedEvent <https://docs.typo3.org/permalink/t3coreapi:aftercontenthasbeenfetchedevent>`_
can be used to modify the content elements fetched by the `page-content`
data processor.

See the following example:
`Filter content elements provided by the page-content data processor <https://docs.typo3.org/permalink/t3coreapi:aftercontenthasbeenfetchedevent-example>`_.

0 comments on commit ab2d30c

Please sign in to comment.