ClipboardController

class \TYPO3\CMS\Backend\Controller\ClipboardController

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

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 $data) : ResponseInterface

Parameters

$data : array

Return values

ResponseInterface

getClipboardDataAction()

protected getClipboardDataAction(ServerRequestInterface $request) : ResponseInterface

Parameters

$request : ServerRequestInterface

Return values

ResponseInterface
On this page