---
title: "Deprecation: #95254 - Two FlexFormTools methods"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-95254"
source: "Changelog/11.5/Deprecation-95254-TwoFlexFormToolsMethods.rst"
typo3-version: "11.5"
typo3-major: 11
type: "deprecation"
issue: 95254
forge: "https://forge.typo3.org/issues/95254"
tags: ["FlexForm", "PHP-API", "FullyScanned", "ext:core"]
rendered: "2026-09-28T19:48:07+00:00"
---

# Deprecation: #95254 - Two FlexFormTools methods {#deprecation-95254}

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

## Description {#description}

Two detail methods of class `\TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools`
have been marked as deprecated:

-   `FlexFormTools->getArrayValueByPath()`
-   `FlexFormTools->setArrayValueByPath()`

## Impact {#impact}

Calling the methods will trigger a PHP `E_USER_DEPRECATED` error.

## Affected Installations {#affected-installations}

Some instances may contain extensions calling above methods. The extension
scanner will find usages as weak match.

## Migration {#migration}

The methods can be substituted with two counterparts from
`\TYPO3\CMS\Core\Utility\ArrayUtility`. They exist since TYPO3 v7 already. Their
signature is slightly different, but usages should be simple to adapt:

```php
// use TYPO3\CMS\Core\Utility\ArrayUtility;
// before
$value = $flexFormTools->getArrayValueByPath('search/path', $searchArray);
// after
$value = ArrayUtility::getValueByPath($searchArray, 'search/path');

// before
$flexFormTools->setArrayValueByPath('set/path', $dataArray, $value);
// after
$dataArray = ArrayUtility::setValueByPath($dataArray, 'set/path', $value);
```
