Created
September 30, 2015 07:01
-
-
Save smichaelsen/d0677bb6f1bb0d38db8b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Smichaelsen\MyExt\Backend\View; | |
use FluidTYPO3\Flux\Service\ContentService; | |
class BackendLayoutView extends \TYPO3\CMS\Backend\View\BackendLayoutView { | |
/** | |
* Flux doesn't work well with TYPO3 backend layouts. The colPos item that is added in ext_tables.php is discarded by TYPO3's | |
* BackendLayoutView. That's why we re-add it here. | |
* | |
* @param array $parameters | |
*/ | |
public function colPosListItemProcFunc(array $parameters) { | |
parent::colPosListItemProcFunc($parameters); | |
$parameters['items'][] = [ | |
$this->getLanguageService()->sL('LLL:EXT:flux/Resources/Private/Language/locallang.xlf:tt_content.tx_flux_container'), | |
ContentService::COLPOS_FLUXCONTENT | |
]; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment