Deprecation: #95254 - Two FlexFormTools methods

See Issue #95254


Two detail methods of class FlexFormTools have been marked as deprecated:

  • TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools->getArrayValueByPath()
  • TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools->setArrayValueByPath()


Calling the methods will trigger a deprecation level log entry.

Affected Installations

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


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

// 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);