[FEATURE] Add required flag in TCA instead of `eval` option
In order to make TCA slimmer and more understandable, the `required` configuration is now used in favor of `eval`, which is also enforced by an automatic TCA migration. At least since #67354 TYPO3 is able to use an explicit `required` configuration: 'column' => [ 'label' => 'foo', 'config' => [ 'type' => 'input', 'required' => true, ], ] Resolves: #97035 Releases: main Change-Id: Ifa4b361e7e4a664596697d4351d6d4b933946d54 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73709 Tested-by:Nikita Hovratov <nikita.h@live.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
Showing
- typo3/sysext/backend/Classes/Form/Element/ImageManipulationElement.php 1 addition, 1 deletion...backend/Classes/Form/Element/ImageManipulationElement.php
- typo3/sysext/backend/Configuration/SiteConfiguration/site.php 4 additions, 2 deletions...3/sysext/backend/Configuration/SiteConfiguration/site.php
- typo3/sysext/backend/Configuration/SiteConfiguration/site_base_variant.php 4 additions, 2 deletions...end/Configuration/SiteConfiguration/site_base_variant.php
- typo3/sysext/backend/Configuration/SiteConfiguration/site_errorhandling.php 7 additions, 4 deletions...nd/Configuration/SiteConfiguration/site_errorhandling.php
- typo3/sysext/backend/Configuration/SiteConfiguration/site_language.php 6 additions, 3 deletions...backend/Configuration/SiteConfiguration/site_language.php
- typo3/sysext/backend/Configuration/SiteConfiguration/site_route.php 4 additions, 3 deletions...xt/backend/Configuration/SiteConfiguration/site_route.php
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 26 additions, 12 deletionstypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Classes/Migrations/TcaMigration.php 42 additions, 0 deletionstypo3/sysext/core/Classes/Migrations/TcaMigration.php
- typo3/sysext/core/Configuration/Resource/Driver/LocalDriverFlexForm.xml 1 addition, 1 deletion...ore/Configuration/Resource/Driver/LocalDriverFlexForm.xml
- typo3/sysext/core/Configuration/TCA/be_groups.php 2 additions, 1 deletiontypo3/sysext/core/Configuration/TCA/be_groups.php
- typo3/sysext/core/Configuration/TCA/be_users.php 4 additions, 2 deletionstypo3/sysext/core/Configuration/TCA/be_users.php
- typo3/sysext/core/Configuration/TCA/pages.php 4 additions, 2 deletionstypo3/sysext/core/Configuration/TCA/pages.php
- typo3/sysext/core/Configuration/TCA/sys_category.php 2 additions, 1 deletiontypo3/sysext/core/Configuration/TCA/sys_category.php
- typo3/sysext/core/Configuration/TCA/sys_file.php 1 addition, 1 deletiontypo3/sysext/core/Configuration/TCA/sys_file.php
- typo3/sysext/core/Configuration/TCA/sys_file_collection.php 1 addition, 1 deletiontypo3/sysext/core/Configuration/TCA/sys_file_collection.php
- typo3/sysext/core/Configuration/TCA/sys_file_storage.php 1 addition, 1 deletiontypo3/sysext/core/Configuration/TCA/sys_file_storage.php
- typo3/sysext/core/Configuration/TCA/sys_filemounts.php 3 additions, 2 deletionstypo3/sysext/core/Configuration/TCA/sys_filemounts.php
- typo3/sysext/core/Configuration/TCA/sys_news.php 1 addition, 1 deletiontypo3/sysext/core/Configuration/TCA/sys_news.php
- typo3/sysext/core/Documentation/Changelog/12.0/Deprecation-97035-RequiredOptionInEvalKeyword.rst 67 additions, 0 deletions...og/12.0/Deprecation-97035-RequiredOptionInEvalKeyword.rst
- typo3/sysext/core/Documentation/Changelog/12.0/Feature-97035-UtilizeRequiredDirectlyInTCAFieldConfiguration.rst 43 additions, 0 deletions...-97035-UtilizeRequiredDirectlyInTCAFieldConfiguration.rst
Please register or sign in to comment