‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Controller\LinkController Class Reference

Public Member Functions

 __construct (protected readonly LinkService $linkService, protected readonly ResourceFactory $resourceFactory)
 
 resourceAction (ServerRequestInterface $request)
 

Protected Member Functions

 getResponseData (bool $success, ?string $message=null, ?string $link=null)
 
 getLanguageService ()
 

Detailed Description

Definition at line 38 of file LinkController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Controller\LinkController::__construct ( protected readonly LinkService  $linkService,
protected readonly ResourceFactory  $resourceFactory 
)

Definition at line 40 of file LinkController.php.

Member Function Documentation

◆ getLanguageService()

TYPO3\CMS\Backend\Controller\LinkController::getLanguageService ( )
protected

◆ getResponseData()

TYPO3\CMS\Backend\Controller\LinkController::getResponseData ( bool  $success,
?string  $message = null,
?string  $link = null 
)
protected

Prepare response data for a JSON response

Definition at line 91 of file LinkController.php.

References TYPO3\CMS\Backend\Controller\LinkController\getLanguageService().

Referenced by TYPO3\CMS\Backend\Controller\LinkController\resourceAction().

◆ resourceAction()