Feature: #97035 - Utilize "required" directly in TCA field configuration
See forge#97035
Description
Since forge#67354, the FormEngine may use
required with a bool value
in a TCA field configuration, enabling the same functionality as the required
option within eval.
All TCA in TYPO3 Core is migrated to use the required configuration over the
corresponding eval option.
Impact
If not done already, TCA is automatically migrated to use
'required' => true
instead of the co-existing eval option. The automated migration will trigger
a deprecation entry though.
Example
'columns' => [
'some_column' => [
'title' => 'foo',
'config' => [
'required' => true,
'eval' => 'trim',
],
],
],
Copied!