New in version 12.0: The TCA type
eval=email option of TCA type
The TCA type
The migration from
type=email is done like following:
// Before 'email_field' => [ 'label' => 'Email', 'config' => [ 'type' => 'input', 'eval' => 'trim,email', 'max' => 255, ] ] // After 'email_field' => [ 'label' => 'Email', 'config' => [ 'type' => 'email', ] ]
An automatic TCA migration is performed on the fly, migrating all occurrences
to the new TCA type and triggering a PHP
where code adoption has to take place.
The value of TCA type
eval=trim option is no
longer needed and should be removed from the TCA configuration.