2 defined(
'TYPO3_MODE') or die();
6 foreach (
$GLOBALS['TCA']['pages']['columns'] as $column => $config) {
7 if ($config[
'config'][
'softref']) {
8 if (\TYPO3\CMS\Core\Utility\GeneralUtility::inList($config[
'config'][
'softref'],
'images')) {
11 $softReferences =
'rtehtmlarea_images,' . \TYPO3\CMS\Core\Utility\GeneralUtility::rmFromList(
'images', $config[
'config'][
'softref']);
12 $GLOBALS[
'TCA'][
'pages'][
'columns'][$column][
'config'][
'softref'] = $softReferences;
15 if ($config[
'config'][
'type'] ===
'text') {
16 $GLOBALS[
'TCA'][
'pages'][
'columns'][$column][
'config'][
'softref'] =
'rtehtmlarea_images,typolink_tag';