‪TYPO3CMS  ‪main
TYPO3\CMS\Reactions\Reaction\ReactionInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Reactions\Reaction\ReactionInterface:
T3docs\Examples\Reaction\ExampleReactionType TYPO3\CMS\Reactions\Reaction\CreateRecordReaction

Public Member Functions

 react (ServerRequestInterface $request, array $payload, ReactionInstruction $reaction)
 

Static Public Member Functions

static getType ()
 
static getDescription ()
 
static getIconIdentifier ()
 

Detailed Description

Definition at line 24 of file ReactionInterface.php.

Member Function Documentation

◆ getDescription()

static TYPO3\CMS\Reactions\Reaction\ReactionInterface::getDescription ( )
static

A meaningful description for the reaction

Implemented in TYPO3\CMS\Reactions\Reaction\CreateRecordReaction, and T3docs\Examples\Reaction\ExampleReactionType.

◆ getIconIdentifier()

static TYPO3\CMS\Reactions\Reaction\ReactionInterface::getIconIdentifier ( )
static

◆ getType()

static TYPO3\CMS\Reactions\Reaction\ReactionInterface::getType ( )
static

The reaction type, used for the registry and stored in the database

Implemented in TYPO3\CMS\Reactions\Reaction\CreateRecordReaction, and T3docs\Examples\Reaction\ExampleReactionType.

◆ react()

TYPO3\CMS\Reactions\Reaction\ReactionInterface::react ( ServerRequestInterface  $request,
array  $payload,
ReactionInstruction  $reaction 
)

Main method of the reaction, handling the incoming request

Implemented in TYPO3\CMS\Reactions\Reaction\CreateRecordReaction, and T3docs\Examples\Reaction\ExampleReactionType.