Feature: #62944 - UserFunc available as Display Condition¶
See forge#62944
Description¶
Being able to use userFunc as display
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';
Copied!
Any parameters can be added (separated by colons) that are sent to the ConditionMatcher class.