RequestAwareWidgetInterface

interface \TYPO3\CMS\Dashboard\Widgets\RequestAwareWidgetInterface

Interface for widgets that need the ServerRequestInterface Request.

The setter is called immediately after class instantiation. Useful for Widgets that depend on a request, for instance when dealing with views based on BackendViewFactory.

Table of Contents

Methods

setRequest()  : void

Methods

setRequest()

public setRequest(ServerRequestInterface $request) : void

Parameters

$request : ServerRequestInterface
On this page