Feature: #99430 - Add event after record publishing in workspaces

See forge#99430


A new PSR-14 event \TYPO3\CMS\Workspaces\Event\AfterRecordPublishedEvent has been added to allow extension developers to react on record publishing in workspaces.

The new event is fired after a record has been published in a workspace and provides the following information:

  • getTable(): The records' table name

  • getRecordId(): The records' uid

  • getWorkspaceId(): The workspace the record has been published in


Registration of the AfterRecordPublishedEvent in your extensions' Services.yaml:

    - name: event.listener
      identifier: 'my-package/after-record-published'

The corresponding event listener class:

use TYPO3\CMS\Workspaces\Event\AfterRecordPublishedEvent;

class MyEventListener {

    public function __invoke(AfterRecordPublishedEvent $event): void
        // Do your magic here


With the new PSR-14 AfterRecordPublishedEvent it is possible to execute custom functionality after a record has been published in a workspace.