Deprecation: #95005 - Extbase EmptyView¶
To further clean up and streamline Fluid view related functionality, the
Extbase related view class
has been marked as deprecated.
EmptyView has been marked as deprecated and trigger a PHP
E_USER_DEPRECATED error upon use.
The class has been unused within TYPO3 core since its introduction in TYPO3 4.5. It is rather unlikely instances have extensions using the class. The extension scanner finds usages with a strong match.
If rendering "nothing" by a view instance is needed for whatever reason, the
same result can be achieved with a
view instance by setting
$view->setTemplateSource('') and calling
$view->render(). But it's of course quicker to simply not render
anything at all.