Commit 89cb3393 authored by Stefan Galinski's avatar Stefan Galinski

Merge branch 'issue-28' into 'master'

[FEATURE] Allow to configure the position of LFEditor moduel in backend

Closes #28

See merge request typo3/lfeditor!24
parents f9d9f78b 653637c4
......@@ -23,3 +23,6 @@ editModeExtension = 1
# cat=basic; type=string; label=Path to AdditionalConfiguration.php file: It is possible to change the file where locallangXMLOverride will be declared. Relative to the document root. If modified, don't forget then to include the custom file path from the AdditionalConfiguration.php.
pathAdditionalConfiguration = typo3conf/AdditionalConfiguration.php
# cat=basic; type=options[user,tools,system]; label=Position of LFEditor module in TYPO3 BE
beMainModuleName = user
......@@ -5,9 +5,10 @@ if (!defined('TYPO3_MODE')) {
}
if (TYPO3_MODE === 'BE') {
$extConf = \SGalinski\Lfeditor\Utility\ExtensionUtility::getExtensionConfiguration();
TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'SGalinski.lfeditor',
'user',
$extConf['beMainModuleName'] ?? 'user',
'LFEditor',
'',
array(
......
Markdown is supported
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