kmi / typo3-eval-additions
Extension for additional eval additions in TYPO3
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:typo3-cms-extension
Requires
- typo3/cms-core: ^13.4
This package is auto-updated.
Last update: 2025-01-27 09:51:42 UTC
README
TYPO3 extension typo3_eval_additions
This extension provides additions for TYPO3 TCA eval function.
Installation
composer require kmi/typo3-eval-additions
Additions
Combined Unique
The combined unique eval function allows you to define a unique constraint for multiple fields of a record.
'first_field' => [ 'config' => [ 'eval' => \Kmi\Typo3EvalAdditions\Evaluation\CombinedUnique::class ] ], 'second_field' => [ 'config' => [ 'eval' => \Kmi\Typo3EvalAdditions\Evaluation\CombinedUnique::class ] ],
Note: The unique constraint is only working for input fields. You can add them to other field types and these fields will also be checked for uniqueness, but the save process for these fields will not be interrupted if the constraint is violated.