‪TYPO3CMS  ‪main
TYPO3\CMS\Dashboard\DashboardPreset Class Reference

Public Member Functions

 __construct (protected readonly string $identifier, protected readonly string $title, protected readonly string $description, protected readonly string $iconIdentifier='content-dashboard', protected readonly array $defaultWidgets=[], protected readonly bool $showInWizard=true)
 
 getIdentifier ()
 
 getIconIdentifier ()
 
 getTitle ()
 
 getDescription ()
 
string[] getDefaultWidgets ()
 
 isShowInWizard ()
 

Protected Member Functions

 getLanguageService ()
 

Detailed Description

Definition at line 25 of file DashboardPreset.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Dashboard\DashboardPreset::__construct ( protected readonly string  $identifier,
protected readonly string  $title,
protected readonly string  $description,
protected readonly string  $iconIdentifier = 'content-dashboard',
protected readonly array  $defaultWidgets = [],
protected readonly bool  $showInWizard = true 
)
Parameters
string[]$defaultWidgets

Definition at line 30 of file DashboardPreset.php.

Member Function Documentation

◆ getDefaultWidgets()

string [] TYPO3\CMS\Dashboard\DashboardPreset::getDefaultWidgets ( )
Returns
‪string[]

Definition at line 61 of file DashboardPreset.php.

Referenced by TYPO3\CMS\Dashboard\DashboardRepository\create().

◆ getDescription()

TYPO3\CMS\Dashboard\DashboardPreset::getDescription ( )

◆ getIconIdentifier()

TYPO3\CMS\Dashboard\DashboardPreset::getIconIdentifier ( )

Definition at line 44 of file DashboardPreset.php.

◆ getIdentifier()

TYPO3\CMS\Dashboard\DashboardPreset::getIdentifier ( )

◆ getLanguageService()

TYPO3\CMS\Dashboard\DashboardPreset::getLanguageService ( )
protected

◆ getTitle()

TYPO3\CMS\Dashboard\DashboardPreset::getTitle ( )

◆ isShowInWizard()

TYPO3\CMS\Dashboard\DashboardPreset::isShowInWizard ( )

Definition at line 66 of file DashboardPreset.php.