TYPO3 v15 dev-main snapshot ()
This commit is contained in:
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
|
||||
use TYPO3\CMS\Dashboard\Controller\DashboardAjaxController;
|
||||
|
||||
return [
|
||||
// Dashboards
|
||||
'dashboard_dashboards_get' => [
|
||||
'path' => '/dashboard/dashboards/get',
|
||||
'target' => DashboardAjaxController::class . '::getDashboards',
|
||||
'methods' => ['GET'],
|
||||
'inheritAccessFromModule' => 'dashboard',
|
||||
],
|
||||
'dashboard_dashboard_add' => [
|
||||
'path' => '/dashboard/dashboard/add',
|
||||
'target' => DashboardAjaxController::class . '::addDashboard',
|
||||
'methods' => ['POST'],
|
||||
'inheritAccessFromModule' => 'dashboard',
|
||||
],
|
||||
'dashboard_dashboard_edit' => [
|
||||
'path' => '/dashboard/dashboard/edit',
|
||||
'target' => DashboardAjaxController::class . '::editDashboard',
|
||||
'methods' => ['POST'],
|
||||
'inheritAccessFromModule' => 'dashboard',
|
||||
],
|
||||
'dashboard_dashboard_update' => [
|
||||
'path' => '/dashboard/dashboard/update',
|
||||
'target' => DashboardAjaxController::class . '::updateDashboard',
|
||||
'methods' => ['POST'],
|
||||
'inheritAccessFromModule' => 'dashboard',
|
||||
],
|
||||
'dashboard_dashboard_delete' => [
|
||||
'path' => '/dashboard/dashboard/delete',
|
||||
'target' => DashboardAjaxController::class . '::deleteDashboard',
|
||||
'methods' => ['POST'],
|
||||
'inheritAccessFromModule' => 'dashboard',
|
||||
],
|
||||
|
||||
// Presets
|
||||
'dashboard_presets_get' => [
|
||||
'path' => '/dashboard/presets/get',
|
||||
'target' => DashboardAjaxController::class . '::getPresets',
|
||||
'methods' => ['GET'],
|
||||
'inheritAccessFromModule' => 'dashboard',
|
||||
],
|
||||
|
||||
// Categories
|
||||
'dashboard_categories_get' => [
|
||||
'path' => '/dashboard/categories/get',
|
||||
'target' => DashboardAjaxController::class . '::getCategories',
|
||||
'methods' => ['GET'],
|
||||
'inheritAccessFromModule' => 'dashboard',
|
||||
],
|
||||
|
||||
// Widgets
|
||||
'dashboard_widget_get' => [
|
||||
'path' => '/dashboard/widget/get',
|
||||
'target' => DashboardAjaxController::class . '::getWidget',
|
||||
'methods' => ['GET'],
|
||||
'inheritAccessFromModule' => 'dashboard',
|
||||
],
|
||||
'dashboard_widget_add' => [
|
||||
'path' => '/dashboard/widget/add',
|
||||
'target' => DashboardAjaxController::class . '::addWidget',
|
||||
'methods' => ['POST'],
|
||||
'inheritAccessFromModule' => 'dashboard',
|
||||
],
|
||||
'dashboard_widget_remove' => [
|
||||
'path' => '/dashboard/widget/remove',
|
||||
'target' => DashboardAjaxController::class . '::removeWidget',
|
||||
'methods' => ['POST'],
|
||||
'inheritAccessFromModule' => 'dashboard',
|
||||
],
|
||||
'dashboard_widget_settings_get' => [
|
||||
'path' => '/dashboard/widget/settings/get',
|
||||
'target' => DashboardAjaxController::class . '::getWidgetSettings',
|
||||
'methods' => ['GET'],
|
||||
'inheritAccessFromModule' => 'dashboard',
|
||||
],
|
||||
'dashboard_widget_settings_update' => [
|
||||
'path' => '/dashboard/widget/settings/update',
|
||||
'target' => DashboardAjaxController::class . '::updateWidgetSettings',
|
||||
'methods' => ['POST'],
|
||||
'inheritAccessFromModule' => 'dashboard',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'default' => [
|
||||
'title' => 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:dashboard.default',
|
||||
'description' => 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:dashboard.default.description',
|
||||
'iconIdentifier' => 'content-dashboard',
|
||||
'defaultWidgets' => ['t3information', 'docGettingStarted'],
|
||||
'showInWizard' => false,
|
||||
],
|
||||
'empty' => [
|
||||
'title' => 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:dashboard.empty',
|
||||
'description' => 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:dashboard.empty.description',
|
||||
'iconIdentifier' => 'content-dashboard-empty',
|
||||
'defaultWidgets' => [],
|
||||
'showInWizard' => true,
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'general' => [
|
||||
'title' => 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:widget_group.general',
|
||||
],
|
||||
'systemInfo' => [
|
||||
'title' => 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:widget_group.system',
|
||||
],
|
||||
'typo3' => [
|
||||
'title' => 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:widget_group.typo3',
|
||||
],
|
||||
'news' => [
|
||||
'title' => 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:widget_group.news',
|
||||
],
|
||||
'documentation' => [
|
||||
'title' => 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:widget_group.documentation',
|
||||
],
|
||||
'content' => [
|
||||
'title' => 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:widget_group.content',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
use TYPO3\CMS\Dashboard\Controller\DashboardController;
|
||||
|
||||
/**
|
||||
* Definitions for modules provided by EXT:dashboard
|
||||
*/
|
||||
return [
|
||||
'dashboard' => [
|
||||
'position' => ['before' => '*'],
|
||||
'standalone' => true,
|
||||
'access' => 'user',
|
||||
'path' => '/module/dashboard',
|
||||
'iconIdentifier' => 'module-dashboard',
|
||||
'labels' => 'dashboard.module',
|
||||
'routes' => [
|
||||
'_default' => [
|
||||
'target' => DashboardController::class . '::mainAction',
|
||||
],
|
||||
],
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user