2 namespace TYPO3\CMS\Workspaces\Controller;
65 'language' => $iconFactory->getIcon(
'flags-multiple',
Icon::SIZE_SMALL)->render(),
66 'integrity' => $iconFactory->getIcon(
'status-dialog-information',
Icon::SIZE_SMALL)->render(),
67 'success' => $iconFactory->getIcon(
'status-dialog-ok',
Icon::SIZE_SMALL)->render(),
68 'info' => $iconFactory->getIcon(
'status-dialog-information',
Icon::SIZE_SMALL)->render(),
69 'warning' => $iconFactory->getIcon(
'status-dialog-warning',
Icon::SIZE_SMALL)->render(),
70 'error' => $iconFactory->getIcon(
'status-dialog-error',
Icon::SIZE_SMALL)->render()
72 $this->pageRenderer->addInlineSetting(
'Workspaces',
'icons', $icons);
73 $this->pageRenderer->addInlineSetting(
'Workspaces',
'id', $this->pageId);
74 $this->pageRenderer->addInlineSetting(
'Workspaces',
'depth', $this->pageId === 0 ? 999 : 1);
77 $this->pageRenderer->addInlineLanguageLabelArray(array(
78 'title' =>
$GLOBALS[
'LANG']->getLL(
'title'),
79 'path' =>
$GLOBALS[
'LANG']->sL(
'LLL:EXT:lang/locallang_core.xlf:labels.path'),
80 'table' =>
$GLOBALS[
'LANG']->sL(
'LLL:EXT:lang/locallang_core.xlf:labels.table'),
81 'depth' =>
$GLOBALS[
'LANG']->sL(
'LLL:EXT:lang/locallang_mod_web_perm.xlf:Depth'),
82 'depth_0' =>
$GLOBALS[
'LANG']->sL(
'LLL:EXT:lang/locallang_core.xlf:labels.depth_0'),
83 'depth_1' =>
$GLOBALS[
'LANG']->sL(
'LLL:EXT:lang/locallang_core.xlf:labels.depth_1'),
84 'depth_2' =>
$GLOBALS[
'LANG']->sL(
'LLL:EXT:lang/locallang_core.xlf:labels.depth_2'),
85 'depth_3' =>
$GLOBALS[
'LANG']->sL(
'LLL:EXT:lang/locallang_core.xlf:labels.depth_3'),
86 'depth_4' =>
$GLOBALS[
'LANG']->sL(
'LLL:EXT:lang/locallang_core.xlf:labels.depth_4'),
87 'depth_infi' =>
$GLOBALS[
'LANG']->sL(
'LLL:EXT:lang/locallang_core.xlf:labels.depth_infi')
89 $this->pageRenderer->addInlineLanguageLabelFile(
'EXT:workspaces/Resources/Private/Language/locallang.xlf');
101 'AdditionalColumn' => array(
102 'Definition' => array(),
103 'Handler' => array(),
109 $this->pageRenderer->addInlineSetting(
'Workspaces',
'extension', $extension);
121 if (isset($backendUser->uc[
'moduleData'][
'Workspaces'][$backendUser->workspace][
'language'])) {
122 $language = $backendUser->uc[
'moduleData'][
'Workspaces'][$backendUser->workspace][
'language'];
132 return $this->objectManager->get(\TYPO3\CMS\Workspaces\Service\AdditionalColumnService::class);
140 return $this->objectManager->get(\TYPO3\CMS\Workspaces\Service\AdditionalResourceService::class);