class WebManifest
The forum's web app manifest, which Android and Chrome read for the name and icons of a shortcut added to the home screen. It opens the forum as an app, in a window of its own with a splash screen, unless an admin turns that off, and then in the browser.
Methods
No description
Whether pages link the manifest: once there is an app icon for it to list, or an extension has changed it.
Whether the path is a page the app can open to: a forum route that takes no parameters, as for the home page setting.
The page the app opens to, as a path after the forum's address. A page whose extension was disabled falls back to the forum's address.
Details
at
line 24
__construct( SettingsRepositoryInterface $settings, Branding $branding, UrlGenerator $url, Container $container, ShortName $shortName, SplashScreen $splashScreen)
at
line 38
bool
isLinked()
Whether pages link the manifest: once there is an app icon for it to list, or an extension has changed it.
at
line 43
bool
opensAsApp()
at
line 48
array
build()
at
line 80
bool
isStartPage(string $path)
Whether the path is a page the app can open to: a forum route that takes no parameters, as for the home page setting.
at
line 89
protected string
startPage()
The page the app opens to, as a path after the forum's address. A page whose extension was disabled falls back to the forum's address.