SystemPageProvider
AbstractYes
Table of Contents
Methods
- getComponent() : Component|null
- returns information about the component that needs to be connected for the system page according to the passed $pageSettings
- getPageInstance() : CustomSectionPage|null
- Return an instance of itself for the passed $section
- isPageAvailable() : bool
- Returns true if $page can be added to the passed $section
Methods
getComponent()
returns information about the component that needs to be connected for the system page according to the passed $pageSettings
public
static getComponent(string $pageSettings, Uri $url) : Component|null
Parameters
- $pageSettings : string
- $url : Uri
Return values
Component|nullgetPageInstance()
Return an instance of itself for the passed $section
public
static getPageInstance(CustomSection $section) : CustomSectionPage|null
Parameters
- $section : CustomSection
Return values
CustomSectionPage|nullisPageAvailable()
Returns true if $page can be added to the passed $section
public
static isPageAvailable(CustomSection $section) : bool
Parameters
- $section : CustomSection