ClipboardController

Controller which behaves as endpoint for clipboard requests, dispatched from either the clipboard panel web component or any of the corresponding modules.

Internal

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

$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
ResponseInterface

createResponse()

protected createResponse(array<string|int, mixed> $data) : ResponseInterface
Parameters
$data : array<string|int, mixed>
Return values
ResponseInterface

getClipboardDataAction()

protected getClipboardDataAction(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

        
On this page

Search results