Issue Feature New Orphaned

#89375TCA settings for cache invalidation and to run Handler for related records

Christoph Lehmann 10/08/19, 15:34 updated 10/08/19, 15:35

Description

I like to have new TCA setting(s) in select and group fields for

1) Automatic cache invalidation of related tables or
2) Running Datahandler Hooks (Trigger re-indexing of relations, etc.)

This should be realized in core to make extension development easier.

Maybe 2) is enough

'tags' => [
    'label' => 'select_single_12 foreign_table selicon_field',
    'config' => [
        'type' => 'select',
        'renderType' => 'selectSingle',
        'foreign_table' => 'xy_tags',
        'runHandlers' => 1                          <-- Run Handlers for "modified relations" 
        'flushCache' => 1                            <-- Flush cache for "modified relations"
   ],
],

Modified relations can be received from \TYPO3\CMS\Core\DataHandling\DataHandler::$mmHistoryRecords

What do you think about it?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[FEATURE] TCA settings for cache invalidation and to run Handler for related records Resolves: #89375 Releases: main