DashboardPreset

readonly class \TYPO3\CMS\Dashboard\DashboardPreset

Implements
JsonSerializable

Table of Contents

Interfaces

JsonSerializable

Properties

$description  : string
$icon  : string
$identifier  : string
$showInWizard  : bool
$title  : string
$widgets  : array

Methods

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

Properties

$icon

protected string $icon = 'content-dashboard'

$showInWizard

protected bool $showInWizard = true

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

Return values

array
On this page