Issue Task Closed

#108952Hook ['t3lib/class.t3lib_befunc.php']['postProcessValue'] misses useful parameters

Xavier Perseguers 02/12/26, 09:31 updated 03/31/26, 08:11

Description

Context

The hook ['t3lib/class.t3lib_befunc.php']['postProcessValue'] invoked from the famous BackendUtility class allows to post-process the value rendered in the list of tables for a given field.

Code: https://github.com/TYPO3/typo3/blob/main/typo3/sysext/backend/Classes/Utility/BackendUtility.php#L1819-L1829

Problem

Implementing the hook has for possible purpose to post-process the value differently (use case: having custom business logic for showing or not a given inline record as part of additional columns in Web > List to be rendered).

But the parameters of the hook currently contain:

1. The rendered value as computed by TYPO3
2. The configuration of the column

It lacks:

1. The name of the corresponding table row being rendered
2. The name of the column being rendered
3. The uid (or even the row array containing uid, pid, …) of the rendered row

Without those info, the hook is quite useless.

Proposal

Provide those 3 pieces of info in addition to the existing parameters, thus allowing the hook to access them, without having any side-effect on usages of that hook in existing installations since those new parameters are added after existing ones.

Reviews 2

History 25

  1. Anonymous commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-02-13T21:10:09+00:00" > 02/13/26, 21:10 </span>

    Applied in changeset commit:eb18645b58d41b3b8d802c2776f57471f2142da4.