File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed
Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change 3333 // EXT:content_defender
3434 $ packageManager = \TYPO3 \CMS \Core \Utility \GeneralUtility::makeInstance (\TYPO3 \CMS \Core \Package \PackageManager::class);
3535 if ($ packageManager ->isPackageActive ('content_defender ' )) {
36- $ contentDefenderVersion = $ packageManager ->getPackage ('content_defender ' )->getPackageMetaData ()->getVersion ();
37- if (version_compare ($ contentDefenderVersion , '3.1.0 ' , '>= ' ) || $ contentDefenderVersion === 'dev-main ' ) {
38- $ GLOBALS ['TYPO3_CONF_VARS ' ]['SC_OPTIONS ' ]['content_defender ' ]['ColumnConfigurationManipulationHook ' ]['tx_container ' ] =
39- \B13 \Container \ContentDefender \Hooks \ColumnConfigurationManipulationHook::class;
40- $ GLOBALS ['TYPO3_CONF_VARS ' ]['SYS ' ]['Objects ' ][\IchHabRecht \ContentDefender \Hooks \DatamapDataHandlerHook::class] = [
41- 'className ' => \B13 \Container \ContentDefender \Xclasses \DatamapHook::class,
42- ];
43- $ GLOBALS ['TYPO3_CONF_VARS ' ]['SYS ' ]['Objects ' ][\IchHabRecht \ContentDefender \Hooks \CmdmapDataHandlerHook::class] = [
44- 'className ' => \B13 \Container \ContentDefender \Xclasses \CommandMapHook::class,
45- ];
46- }
36+ $ GLOBALS ['TYPO3_CONF_VARS ' ]['SC_OPTIONS ' ]['content_defender ' ]['ColumnConfigurationManipulationHook ' ]['tx_container ' ] =
37+ \B13 \Container \ContentDefender \Hooks \ColumnConfigurationManipulationHook::class;
38+ $ GLOBALS ['TYPO3_CONF_VARS ' ]['SYS ' ]['Objects ' ][\IchHabRecht \ContentDefender \Hooks \DatamapDataHandlerHook::class] = [
39+ 'className ' => \B13 \Container \ContentDefender \Xclasses \DatamapHook::class,
40+ ];
41+ $ GLOBALS ['TYPO3_CONF_VARS ' ]['SYS ' ]['Objects ' ][\IchHabRecht \ContentDefender \Hooks \CmdmapDataHandlerHook::class] = [
42+ 'className ' => \B13 \Container \ContentDefender \Xclasses \CommandMapHook::class,
43+ ];
4744 }
4845
4946 // set our hooks at the beginning of Datamap Hooks
You can’t perform that action at this time.
0 commit comments