class BackendController extends ActionController (View source)

The Neos Backend controller

Properties

protected BackendRedirectionService $backendRedirectionService
protected XliffService $xliffService
protected LinkingService $linkingService
protected StringFrontend $loginTokenCache
protected SessionInterface $currentSession

Methods

void
indexAction()

Default action of the backend controller.

void
switchSiteAction(Site $site)

Redirects to the Neos backend on the given site, passing a one-time login token

string
xliffAsJsonAction(string $locale)

Returns the cached json array with the xliff labels

Details

void indexAction()

Default action of the backend controller.

Return Value

void

Exceptions

MissingActionNameException
StopActionException
UnsupportedRequestTypeException
Exception
IllegalObjectTypeException

void switchSiteAction(Site $site)

Redirects to the Neos backend on the given site, passing a one-time login token

Parameters

Site $site

Return Value

void

Exceptions

Exception
InvalidDataException
StopActionException
UnsupportedRequestTypeException
MissingActionNameException
SessionNotStartedException
Exception
Exception

string xliffAsJsonAction(string $locale)

Returns the cached json array with the xliff labels

Parameters

string $locale

Return Value

string

Exceptions

InvalidLocaleIdentifierException
Exception
UnknownPackageException