ClipboardController
Controller which behaves as endpoint for clipboard requests, dispatched from either the clipboard panel web component or any of the corresponding modules.
This class is a specific Backend controller implementation and is not part of the TYPO3's Core API.
Attributes
- #[AsController]
Table of Contents
Properties
- $clipboard : Clipboard
- $responseFactory : ResponseFactoryInterface
- $streamFactory : StreamFactoryInterface
Methods
- __construct() : mixed
- processRequest() : ResponseInterface
- Process incoming clipboard request
- createResponse() : ResponseInterface
- getClipboardDataAction() : ResponseInterface
- getLanguageService() : LanguageService
Properties
$clipboard
protected
Clipboard
$clipboard
$responseFactory
protected
ResponseFactoryInterface
$responseFactory
$streamFactory
protected
StreamFactoryInterface
$streamFactory
Methods
__construct()
public
__construct(ResponseFactoryInterface $responseFactory, StreamFactoryInterface $streamFactory) : mixed
Parameters
- $responseFactory : ResponseFactoryInterface
- $streamFactory : StreamFactoryInterface
processRequest()
Process incoming clipboard request
public
processRequest(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacecreateResponse()
protected
createResponse(array<string|int, mixed> $data) : ResponseInterface
Parameters
- $data : array<string|int, mixed>
Return values
ResponseInterfacegetClipboardDataAction()
protected
getClipboardDataAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacegetLanguageService()
protected
getLanguageService() : LanguageService