DashboardPreset implements JsonSerializable

Read onlyYes
Internal

Table of Contents

Interfaces

JsonSerializable

Properties

$description  : string
$icon  : string
$identifier  : string
$showInWizard  : bool
$title  : string
$widgets  : array<string|int, mixed>

Methods

__construct()  : mixed
getDefaultWidgets()  : array<int, array{identifier: string, settings?: array}>
getDescription()  : string
getIconIdentifier()  : string
getIdentifier()  : string
getTitle()  : string
isShowInWizard()  : bool
jsonSerialize()  : array<string|int, mixed>
getLanguageService()  : LanguageService

Properties

$icon

protected string $icon = 'content-dashboard'

$showInWizard

protected bool $showInWizard = true

$widgets

protected array<string|int, mixed> $widgets = []

Methods

__construct()

public __construct(string $identifier, string $title, string $description[, string $icon = 'content-dashboard' ][, array<int, array{identifier: string, settings?: array}> $widgets = [] ][, bool $showInWizard = true ]) : mixed
Parameters
$identifier : string
$title : string
$description : string
$icon : string = 'content-dashboard'
$widgets : array<int, array{identifier: string, settings?: array}> = []
$showInWizard : bool = true

getDefaultWidgets()

public getDefaultWidgets() : array<int, array{identifier: string, settings?: array}>
Return values
array<int, array{identifier: string, settings?: array}>

getDescription()

public getDescription() : string
Return values
string

getIconIdentifier()

public getIconIdentifier() : string
Return values
string

getIdentifier()

public getIdentifier() : string
Return values
string

getTitle()

public getTitle() : string
Return values
string

isShowInWizard()

public isShowInWizard() : bool
Return values
bool

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
On this page

Search results