Commit 36b5914f authored by Wouter Wolters's avatar Wouter Wolters Committed by Georg Ringer
Browse files

[TASK] Move language include to .xlf

Move all old language includes (php,xml) in the core to .xlf

Change-Id: I804b5970a360cbfdc2940736632c55c535ccbd40
Resolves: #49832
Releases: 6.2
Reviewed-on: https://review.typo3.org/22167
Reviewed-by: Markus Klein
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
parent 151b56f4
......@@ -33,7 +33,7 @@ require $BACK_PATH . 'init.php';
// Include ADODB library:
require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('adodb') . 'adodb/adodb.inc.php';
// Include language labels:
$LANG->includeLLFile('EXT:adodb/locallang_wizard.xml');
$LANG->includeLLFile('EXT:adodb/locallang_wizard.xlf');
/*
* @deprecated since 6.0, the classname tx_adodb_checkconnectionwizard and this file is obsolete
* and will be removed with 6.2. The class was renamed and is now located at:
......
......@@ -130,7 +130,6 @@ class RenameFileController {
* @todo Define visibility
*/
public function main() {
//TODO: change locallang*.php to locallang*.xml
// Make page header:
$this->content = $this->doc->startPage($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_rename.php.pagetitle'));
$pageContent = $this->doc->header($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_rename.php.pagetitle'));
......
......@@ -289,7 +289,7 @@ class NewRecordController {
if (!$this->pagesOnly) {
// New page
if ($this->showNewRecLink('pages')) {
$buttons['new_page'] = '<a href="' . htmlspecialchars(GeneralUtility::linkThisScript(array('pagesOnly' => '1'))) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:cms/layout/locallang.xml:newPage', 1) . '">' . IconUtility::getSpriteIcon('actions-page-new') . '</a>';
$buttons['new_page'] = '<a href="' . htmlspecialchars(GeneralUtility::linkThisScript(array('pagesOnly' => '1'))) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:cms/layout/locallang.xlf:newPage', 1) . '">' . IconUtility::getSpriteIcon('actions-page-new') . '</a>';
}
// CSH
$buttons['csh'] = BackendUtility::cshItem('xMOD_csh_corebe', 'new_regular', $GLOBALS['BACK_PATH'], '', TRUE);
......
......@@ -279,7 +279,7 @@ class PageLayoutController {
// example settings:
// $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables']['tx_myext'] =
// array ('default' => array(
// 'MENU' => 'LLL:EXT:tx_myext/locallang_db.xml:menuDefault',
// 'MENU' => 'LLL:EXT:tx_myext/locallang_db.xlf:menuDefault',
// 'fList' => 'title,description,image',
// 'icon' => TRUE));
if (is_array($this->externalTables)) {
......
......@@ -252,14 +252,14 @@ class PageTreeNavigationController {
);
// New Page
$onclickNewPageWizard = 'top.content.list_frame.location.href=top.TS.PATH_typo3+\'db_new.php?pagesOnly=1&amp;id=\'+Tree.pageID;';
$buttons['new_page'] = '<a href="#" onclick="' . $onclickNewPageWizard . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:cms/layout/locallang.xml:newPage', TRUE) . '">' . IconUtility::getSpriteIcon('actions-page-new') . '</a>';
$buttons['new_page'] = '<a href="#" onclick="' . $onclickNewPageWizard . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:cms/layout/locallang.xlf:newPage', TRUE) . '">' . IconUtility::getSpriteIcon('actions-page-new') . '</a>';
// Refresh
$buttons['refresh'] = '<a href="' . htmlspecialchars(GeneralUtility::getIndpEnv('REQUEST_URI')) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.refresh', TRUE) . '">' . IconUtility::getSpriteIcon('actions-system-refresh') . '</a>';
// CSH
$buttons['csh'] = str_replace('typo3-csh-inline', 'typo3-csh-inline show-right', BackendUtility::cshItem('xMOD_csh_corebe', 'pagetree', $GLOBALS['BACK_PATH'], '', TRUE));
// Filter
if ($this->hasFilterBox) {
$buttons['filter'] = '<a href="#" id="tree-toolbar-filter-item">' . IconUtility::getSpriteIcon('actions-system-tree-search-open', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:cms/layout/locallang.xml:labels.filter', 1))) . '</a>';
$buttons['filter'] = '<a href="#" id="tree-toolbar-filter-item">' . IconUtility::getSpriteIcon('actions-system-tree-search-open', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:cms/layout/locallang.xlf:labels.filter', 1))) . '</a>';
}
return $buttons;
}
......
......@@ -996,7 +996,7 @@ class InlineElement {
* @return void
*/
protected function processAjaxRequestConstruct(&$ajaxArguments) {
$GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_alt_doc.xml');
$GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_alt_doc.xlf');
// Create a new anonymous object:
$GLOBALS['SOBE'] = new \stdClass();
$GLOBALS['SOBE']->MOD_MENU = array(
......
......@@ -186,9 +186,9 @@ class ExtdirectTreeDataProvider extends \TYPO3\CMS\Backend\Tree\AbstractExtJsTre
'dropZoneElementRestored' => $GLOBALS['LANG']->sL($file . 'tree.dropZoneElementRestored', TRUE),
'searchTermInfo' => $GLOBALS['LANG']->sL($file . 'tree.searchTermInfo', TRUE),
'temporaryMountPointIndicatorInfo' => $GLOBALS['LANG']->sl($file . 'labels.temporaryDBmount', TRUE),
'deleteDialogTitle' => $GLOBALS['LANG']->sL('LLL:EXT:cms/layout/locallang.xml:deleteItem', TRUE),
'deleteDialogMessage' => $GLOBALS['LANG']->sL('LLL:EXT:cms/layout/locallang.xml:deleteWarning', TRUE),
'recursiveDeleteDialogMessage' => $GLOBALS['LANG']->sL('LLL:EXT:cms/layout/locallang.xml:recursiveDeleteWarning', TRUE)
'deleteDialogTitle' => $GLOBALS['LANG']->sL('LLL:EXT:cms/layout/locallang.xlf:deleteItem', TRUE),
'deleteDialogMessage' => $GLOBALS['LANG']->sL('LLL:EXT:cms/layout/locallang.xlf:deleteWarning', TRUE),
'recursiveDeleteDialogMessage' => $GLOBALS['LANG']->sL('LLL:EXT:cms/layout/locallang.xlf:recursiveDeleteWarning', TRUE)
),
'Configuration' => array(
'hideFilter' => $GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.hideFilter'),
......
......@@ -14,28 +14,28 @@ if (!defined('TYPO3_MODE')) {
mod.wizards.newContentElement {
renderMode = tabs
wizardItems {
common.header = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common
common.header = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:common
common.elements {
header {
icon = gfx/c_wiz/regular_header.gif
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_headerOnly_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_headerOnly_description
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:common_headerOnly_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:common_headerOnly_description
tt_content_defValues {
CType = header
}
}
text {
icon = gfx/c_wiz/regular_text.gif
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_regularText_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_regularText_description
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:common_regularText_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:common_regularText_description
tt_content_defValues {
CType = text
}
}
textpic {
icon = gfx/c_wiz/text_image_right.gif
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_textImage_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_textImage_description
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:common_textImage_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:common_textImage_description
tt_content_defValues {
CType = textpic
imageorient = 17
......@@ -43,24 +43,24 @@ mod.wizards.newContentElement {
}
image {
icon = gfx/c_wiz/images_only.gif
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_imagesOnly_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_imagesOnly_description
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:common_imagesOnly_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:common_imagesOnly_description
tt_content_defValues {
CType = image
}
}
bullets {
icon = gfx/c_wiz/bullet_list.gif
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_bulletList_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_bulletList_description
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:common_bulletList_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:common_bulletList_description
tt_content_defValues {
CType = bullets
}
}
table {
icon = gfx/c_wiz/table.gif
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_table_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_table_description
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:common_table_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:common_table_description
tt_content_defValues {
CType = table
}
......@@ -69,36 +69,36 @@ mod.wizards.newContentElement {
}
common.show = header,text,textpic,image,bullets,table
special.header = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special
special.header = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:special
special.elements {
uploads {
icon = gfx/c_wiz/filelinks.gif
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_filelinks_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_filelinks_description
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:special_filelinks_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:special_filelinks_description
tt_content_defValues {
CType = uploads
}
}
multimedia {
icon = gfx/c_wiz/multimedia.gif
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_multimedia_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_multimedia_description
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:special_multimedia_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:special_multimedia_description
tt_content_defValues {
CType = multimedia
}
}
media {
icon = gfx/c_wiz/multimedia.gif
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_media_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_media_description
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:special_media_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:special_media_description
tt_content_defValues {
CType = media
}
}
menu {
icon = gfx/c_wiz/sitemap2.gif
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_menus_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_menus_description
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:special_menus_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:special_menus_description
tt_content_defValues {
CType = menu
menu_type = 0
......@@ -106,24 +106,24 @@ mod.wizards.newContentElement {
}
html {
icon = gfx/c_wiz/html.gif
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_plainHTML_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_plainHTML_description
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:special_plainHTML_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:special_plainHTML_description
tt_content_defValues {
CType = html
}
}
div {
icon = gfx/c_wiz/div.gif
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_divider_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_divider_description
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:special_divider_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:special_divider_description
tt_content_defValues {
CType = div
}
}
shortcut {
icon = gfx/c_wiz/shortcut.gif
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_shortcut_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_shortcut_description
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:special_shortcut_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:special_shortcut_description
tt_content_defValues {
CType = shortcut
}
......@@ -132,12 +132,12 @@ mod.wizards.newContentElement {
}
special.show = uploads,media,menu,html,div,shortcut
forms.header = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:forms
forms.header = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:forms
forms.elements {
mailform {
icon = gfx/c_wiz/mailform.gif
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:forms_mail_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:forms_mail_description
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:forms_mail_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:forms_mail_description
tt_content_defValues {
CType = mailform
bodytext (
......@@ -155,8 +155,8 @@ mod.wizards.newContentElement {
}
search {
icon = gfx/c_wiz/searchform.gif
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:forms_search_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:forms_search_description
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:forms_search_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:forms_search_description
tt_content_defValues {
CType = search
}
......@@ -164,12 +164,12 @@ mod.wizards.newContentElement {
}
forms.show = mailform,search
plugins.header = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:plugins
plugins.header = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:plugins
plugins.elements {
general {
icon = gfx/c_wiz/user_defined.gif
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:plugins_general_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:plugins_general_description
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:plugins_general_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xlf:plugins_general_description
tt_content_defValues.CType = list
}
}
......
......@@ -4,8 +4,8 @@ if (!defined('TYPO3_MODE')) {
}
if (TYPO3_MODE == 'BE') {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule('web', 'layout', 'top', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'layout/');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_layout', 'EXT:cms/locallang_csh_weblayout.xml');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_info', 'EXT:cms/locallang_csh_webinfo.xml');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_layout', 'EXT:cms/locallang_csh_weblayout.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_info', 'EXT:cms/locallang_csh_webinfo.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction('web_info', 'tx_cms_webinfo_page', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'web_info/class.tx_cms_webinfo.php', 'LLL:EXT:cms/locallang_tca.xlf:mod_tx_cms_webinfo_page');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction('web_info', 'tx_cms_webinfo_lang', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'web_info/class.tx_cms_webinfo_lang.php', 'LLL:EXT:cms/locallang_tca.xlf:mod_tx_cms_webinfo_lang');
}
......
......@@ -2,7 +2,7 @@
define('TYPO3_MOD_PATH', 'sysext/cms/layout/');
$BACK_PATH = '../../../';
$MLANG['default']['tabs_images']['tab'] = 'layout.gif';
$MLANG['default']['ll_ref'] = 'LLL:EXT:cms/layout/locallang_mod.xml';
$MLANG['default']['ll_ref'] = 'LLL:EXT:cms/layout/locallang_mod.xlf';
$MCONF['script'] = 'db_layout.php';
$MCONF['access'] = 'user,group';
$MCONF['name'] = 'web_layout';
......
......@@ -37,7 +37,7 @@
unset($MCONF);
require 'conf.php';
require $BACK_PATH . 'init.php';
$LANG->includeLLFile('EXT:cms/layout/locallang.xml');
$LANG->includeLLFile('EXT:cms/layout/locallang.xlf');
$BE_USER->modAccess($MCONF, 1);
// Will open up records locked by current user. It's assumed that the locking should end if this script is hit.
......
......@@ -42,7 +42,7 @@ unset($MLANG);
// Merging locallang files/arrays:
$GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_misc.xlf');
$LOCAL_LANG_orig = $LOCAL_LANG;
$LANG->includeLLFile('EXT:cms/layout/locallang_db_new_content_el.xml');
$LANG->includeLLFile('EXT:cms/layout/locallang_db_new_content_el.xlf');
$LOCAL_LANG = \TYPO3\CMS\Core\Utility\GeneralUtility::array_merge_recursive_overrule($LOCAL_LANG_orig, $LOCAL_LANG);
// Exits if 'cms' extension is not loaded:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('cms', 1);
......
......@@ -376,7 +376,7 @@ class ExtensionManagementUtility {
* - $table = 'tt_content'
* - $field = 'CType'
* - $item = array(
* 'LLL:EXT:cms/locallang_ttc.xml:CType.I.10',
* 'LLL:EXT:cms/locallang_ttc.xlf:CType.I.10',
* 'login',
* 'i/tt_content_login.gif',
* ),
......
......@@ -76,7 +76,7 @@ return array(
'notNewRecords' => 1,
'RTEonly' => 1,
'type' => 'script',
'title' => 'LLL:EXT:cms/locallang_ttc.php:bodytext.W.RTE',
'title' => 'LLL:EXT:cms/locallang_ttc.xlf:bodytext.W.RTE',
'icon' => 'wizard_rte2.gif',
'script' => 'wizard_rte.php'
)
......
......@@ -196,7 +196,7 @@ $GLOBALS['TBE_STYLES'] = array(
* documentation found in "Inside TYPO3"
*/
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('pages', 'EXT:lang/locallang_csh_pages.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('be_users', 'EXT:lang/locallang_csh_be_users.xml');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('be_users', 'EXT:lang/locallang_csh_be_users.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('be_groups', 'EXT:lang/locallang_csh_be_groups.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_filemounts', 'EXT:lang/locallang_csh_sysfilem.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_language', 'EXT:lang/locallang_csh_syslang.xlf');
......
......@@ -7,7 +7,7 @@ if (!defined('TYPO3_MODE')) {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('*', 'FILE:EXT:css_styled_content/flexform_ds.xml', 'table');
$GLOBALS['TCA']['tt_content']['types']['table']['showitem'] = 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;4-4-4,
--div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.5, layout;;10;;3-3-3, cols, bodytext;;9;nowrap:wizards[table], text_properties, pi_flexform,
--div--;LLL:EXT:cms/locallang_ttc.xlf:CType.I.5, layout;;10;;3-3-3, cols, bodytext;;9;nowrap:wizards[table], text_properties, pi_flexform,
--div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access, starttime, endtime, fe_group';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'static/', 'CSS Styled Content');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'static/v3.8/', 'CSS Styled Content TYPO3 v3.8');
......
......@@ -3,5 +3,5 @@ $MCONF['name'] = 'tools_txdbalM1';
$MCONF['access'] = 'admin';
$MCONF['script'] = '_DISPATCH';
$MLANG['default']['tabs_images']['tab'] = 'moduleicon.gif';
$MLANG['default']['ll_ref'] = 'LLL:EXT:dbal/mod1/locallang_mod.xml';
$MLANG['default']['ll_ref'] = 'LLL:EXT:dbal/mod1/locallang_mod.xlf';
?>
\ No newline at end of file
......@@ -29,7 +29,7 @@
* @author Kasper Skårhøj <kasperYYYY@typo3.com>
* @author Karsten Dambekalns <karsten@typo3.org>
*/
$LANG->includeLLFile('EXT:dbal/mod1/locallang.xml');
$LANG->includeLLFile('EXT:dbal/mod1/locallang.xlf');
$BE_USER->modAccess($MCONF, 1);
$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Dbal\\Controller\\ModuleController');
......
......@@ -200,7 +200,7 @@ tt_content.' . $pluginSignature . ' {
* @param string $subModuleName The submodule key.
* @param string $position This can be used to set the position of the $sub module within the list of existing submodules for the main module. $position has this syntax: [cmd]:[submodule-key]. cmd can be "after", "before" or "top" (or blank which is default). If "after"/"before" then submodule will be inserted after/before the existing submodule with [submodule-key] if found. If not found, the bottom of list. If "top" the module is inserted in the top of the submodule list.
* @param array $controllerActions is an array of allowed combinations of controller and action stored in an array (controller name as key and a comma separated list of action names as value, the first controller and its first action is chosen as default)
* @param array $moduleConfiguration The configuration options of the module (icon, locallang.xml file)
* @param array $moduleConfiguration The configuration options of the module (icon, locallang.xlf file)
* @throws \InvalidArgumentException
* @return void
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment