Site
The site
request attribute hold information about the current
site in the object \TYPO3\
.
It is available in frontend and backend context.
Example:
$site = $request->getAttribute('site');
$siteConfiguration = $site->getConfiguration();
Copied!
Note
In backend context the attribute can hold a
\TYPO3\
object when the module does not
provide a page tree or no page in the page tree is selected.
See also
For the API see \TYPO3\CMS\Core\Site\Entity\Site.