‪TYPO3CMS  ‪main
TYPO3\CMS\Webhooks\Listener\PageModificationListener Class Reference

Public Member Functions

 __construct (protected readonly MessageBusInterface $bus, protected readonly LoggerInterface $logger, protected readonly SiteFinder $siteFinder,)
 
 processDatamap_afterDatabaseOperations ($status, $table, $id, $fieldArray, DataHandler $dataHandler)
 

Protected Member Functions

 dispatchMessage (PageModificationMessage $message)
 

Detailed Description

Creates a message everytime something changed within a page.

This example does not use PSR-14 events, but creates a message manually, which is then dispatched.

not part of TYPO3 Core API

Definition at line 37 of file PageModificationListener.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Webhooks\Listener\PageModificationListener::__construct ( protected readonly MessageBusInterface  $bus,
protected readonly LoggerInterface  $logger,
protected readonly SiteFinder  $siteFinder 
)

Definition at line 39 of file PageModificationListener.php.

Member Function Documentation

◆ dispatchMessage()

TYPO3\CMS\Webhooks\Listener\PageModificationListener::dispatchMessage ( PageModificationMessage  $message)
protected

◆ processDatamap_afterDatabaseOperations()

TYPO3\CMS\Webhooks\Listener\PageModificationListener::processDatamap_afterDatabaseOperations (   $status,
  $table,
  $id,
  $fieldArray,
DataHandler  $dataHandler 
)