Commit 87f6aaac authored by bbaer's avatar bbaer
Browse files

version check

parent 88bf7f4b
Pipeline #1822 passed with stage
in 2 minutes and 4 seconds
......@@ -51,8 +51,4 @@ if(is_array($GLOBALS['TCA']['tt_content']['types'])) {
]
);
if(\TYPO3\CMS\Extbase\Utility\VersionNumberUtility::getNumericTypo3Version() > 9) {
$GLOBALS['TCA']['tt_content']['types']['qfq_qfq']['columnsOverrides']['bodytext']['config']['format'] = 'sparql';
$GLOBALS['TCA']['tt_content']['types']['qfq_qfq']['columnsOverrides']['bodytext']['constants']['format'] = 'sparql';
}
}
\ No newline at end of file
......@@ -13,3 +13,8 @@ if (!defined('TYPO3_MODE')) {
'QFQ Element',
'EXT:qfq/ext_icon.png'
);
if(\TYPO3\CMS\Extbase\Utility\VersionNumberUtility::getNumericTypo3Version() > 9) {
$GLOBALS['TCA']['tt_content']['types']['qfq_qfq']['columnsOverrides']['bodytext']['config']['format'] = 'sparql';
$GLOBALS['TCA']['tt_content']['types']['qfq_qfq']['columnsOverrides']['bodytext']['constants']['format'] = 'sparql';
}
\ No newline at end of file
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