DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
Developer's guide¶
This chapter contains information targeted at developers.
Hooks¶
Fluid Display contains one hook:
- preProcessView
- This method will receive two parameters. The first one is a reference to the
Fluid view object that will be used for rendering (an instance of
\TYPO3\CMS\Fluid\View\StandaloneView
). The second parameter is a back-reference the current instance of\Tesseract\Fluiddisplay\Component\DataConsumer
. This hook mostly makes it possible to assign additional variables to the Fluid view.
View helpers¶
There are not many hooks in Fluid Display mostly because it relies on Fluid for rendering, which is already powerful and flexible enough. If you have some special needs in your rendering the way to go is to create custom view helpers.