Deprecation: #97384 - TCA option "eval=null" replaced with "nullable"¶
See forge#97384
Description¶
The TCA option eval=null
has been replaced with the boolean option
nullable
.
Impact¶
The TCA option eval=null
will be automatically migrated to
'nullable' => true
. The migration will trigger a PHP E_USER_DEPRECATED
error.
Affected Installations¶
All installations defining the null
value in their eval
list.
Migration¶
To migrate your TCA add the TCA option 'nullable' => true
and remove the
null
value from the field's eval
list.
// Before
'columns' => [
'nullable_column' => [
'title' => 'A nullable field',
'config' => [
'eval' => 'null',
],
],
],
// After
'columns' => [
'nullable_column' => [
'title' => 'A nullable field',
'config' => [
'nullable' => true,
],
],
],