Feature: #62944 - UserFunc available as Display Condition¶
See Issue #62944
Being able to use userFunc as
displayCondition makes it possible to
check on any imaginable condition or state. If any situation can not
be evaluated with any of the existing checks the developer is free
to add an own user function which provides a boolean result whether
to show or hide the TCA field.
$GLOBALS['TCA']['tt_content']['columns']['bodytext']['displayCond'] = 'USER:Evoweb\\Example\\User\\ElementConditionMatcher->checkHeaderGiven:any:more:information';
Any parameters can be added (separated by colons) that are sent to the ConditionMatcher class.