Copied!

SiteContextServiceInterface

SiteContextServiceInterface.php : 14

Methods

publicgetCurrentContext()

SiteContextServiceInterface.php : 16
public getCurrentContext() : SiteAccess|null

Return values

SiteAccess|null

publicisFullscreenModeEnabled()

SiteContextServiceInterface.php : 22
public isFullscreenModeEnabled() : bool

Return values

bool

publicresolveContextLanguage()

SiteContextServiceInterface.php : 24
public resolveContextLanguage(SiteAccess $siteAccess, Content $content) : string

Parameters

Name Type Default value Description
$siteAccess SiteAccess - -
$content Content - -

Return values

string

publicsetCurrentContext()

SiteContextServiceInterface.php : 18
public setCurrentContext(SiteAccess|null $siteAccess) : void

Parameters

Name Type Default value Description
$siteAccess SiteAccess|null - -

publicsetFullscreenMode()

SiteContextServiceInterface.php : 20
public setFullscreenMode(bool $state) : void

Parameters

Name Type Default value Description
$state bool - -