---
title: "Deprecation: #98371 - Deprecated Fluid getters"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-98371-1663524265"
source: "Changelog/12.0/Deprecation-98371-DeprecatedFluidGetters.rst"
typo3-version: "12.0"
typo3-major: 12
type: "deprecation"
issue: 98371
forge: "https://forge.typo3.org/issues/98371"
tags: ["Fluid", "NotScanned", "ext:fluid"]
rendered: "2026-10-01T16:39:42+00:00"
---

# Deprecation: #98371 - Deprecated Fluid getters {#deprecation-98371-1663524265}

See [forge#98371](https://forge.typo3.org/issues/98371)

## Description {#description}

Views in a Model-View-Controller (MVC) construct should be data sinks.
Class `\TYPO3\CMS\Fluid\View\StandaloneView` violates this concept by
providing some `getXY()` methods that allow fetching previously set state.

The Fluid class `\TYPO3\CMS\Fluid\Core\Rendering\RenderingContext`
is the main object carried around within the rendering chain to keep track
of state. It is the main data object used in view helpers.

As such, `StandaloneView` should not allow fetching state since it allows
to be misused to park state, which is primarily a controller concern instead.

To enforce this pattern, the following methods have been marked as deprecated in
TYPO3 Core v12 and will be removed in TYPO3 v13:

-   `\TYPO3\CMS\Fluid\View\StandaloneView->getRequest()`
-   `\TYPO3\CMS\Fluid\View\StandaloneView->getFormat()`
-   `\TYPO3\CMS\Fluid\View\StandaloneView->getTemplatePathAndFilename()`

## Impact {#impact}

Calling one of the above methods triggers a PHP `E_USER_DEPRECATED` level
error.

## Affected installations {#affected-installations}

Instances with extensions using one of the above methods.

## Migration {#migration}

Do not misuse `StandaloneView` as data source. Typically, controllers
should handle and keep track of state like a PSR-7 Request and set or update
view state.
