Site

The site request attribute hold information about the current site in the object \TYPO3\CMS\Core\Site\Entity\Site . It is available in frontend and backend context.

Example:

$site = $request->getAttribute('site');
$siteConfiguration = $site->getConfiguration();
Copied!