ReactionInterface

interface \TYPO3\CMS\Reactions\Reaction\ReactionInterface

Table of Contents

Methods

getDescription()  : string
A meaningful description for the reaction
getIconIdentifier()  : string
An icon identifier for the reaction
getType()  : string
The reaction type, used for the registry and stored in the database
react()  : ResponseInterface
Main method of the reaction, handling the incoming request

Methods

getDescription()

A meaningful description for the reaction

public static getDescription() : string

Return values

string

getIconIdentifier()

An icon identifier for the reaction

public static getIconIdentifier() : string

Return values

string

getType()

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

public static getType() : string

Return values

string

react()

Main method of the reaction, handling the incoming request

public react(ServerRequestInterface $request, array $payload, ReactionInstruction $reaction) : ResponseInterface

Parameters

$request : ServerRequestInterface
$payload : array
$reaction : ReactionInstruction

Return values

ResponseInterface
On this page