DashboardInitializationService

Internal

Table of Contents

Constants

MODULE_DATA_CURRENT_DASHBOARD_IDENTIFIER  = 'dashboard/current_dashboard/'

Properties

$javaScriptModuleInstructions  : array<int, JavaScriptModuleInstruction>

Methods

__construct()  : mixed
getCssFiles()  : array<string|int, mixed>
getCurrentDashboard()  : Dashboard
getDashboardsForUser()  : array<string|int, Dashboard>
getJavaScriptModuleInstructions()  : array<int, JavaScriptModuleInstruction>
getJsFiles()  : array<string|int, mixed>
getRequireJsModules()  : array<int, string|array{0: string, 1: string}>
initializeDashboards()  : void
createDefaultDashboards()  : array<string|int, mixed>
defineCssFiles()  : void
Define the correct path of the CSS files of a widget and add them to the list of CSS files that needs to be included
defineCurrentDashboard()  : Dashboard
defineJavaScriptInstructions()  : void
defineJsFiles()  : void
Define the correct path of the JS files of a widget and add them to the list of JS files that needs to be included
defineRequireJsModules()  : void
Add the RequireJS modules needed by some widgets
defineResourcesOfWidgets()  : void
loadCurrentDashboard()  : string
saveCurrentDashboard()  : void

Constants

MODULE_DATA_CURRENT_DASHBOARD_IDENTIFIER

protected mixed MODULE_DATA_CURRENT_DASHBOARD_IDENTIFIER = 'dashboard/current_dashboard/'

Properties

Methods

getCssFiles()

public getCssFiles() : array<string|int, mixed>
Return values
array<string|int, mixed>

getJsFiles()

public getJsFiles() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRequireJsModules()

public getRequireJsModules() : array<int, string|array{0: string, 1: string}>
Deprecated

will be removed in TYPO3 v13.0

Return values
array<int, string|array{0: string, 1: string}>

createDefaultDashboards()

protected createDefaultDashboards() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results