diff --git a/Configuration/TCA/tx_sgjobs_domain_model_job.php b/Configuration/TCA/tx_sgjobs_domain_model_job.php index e84e11d5647c359af6cd8db275d536b2863c252e..73f7491a3e2a99f4637cd304dd50045fbc6b20c6 100644 --- a/Configuration/TCA/tx_sgjobs_domain_model_job.php +++ b/Configuration/TCA/tx_sgjobs_domain_model_job.php @@ -26,6 +26,10 @@ return call_user_func( function ($extKey, $table) { + \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes( + 'tx_sgjobs_domain_model_job', + '' + ); return [ 'ctrl' => [ 'title' => 'LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang_db.xlf:' . $table . '', @@ -71,7 +75,8 @@ return call_user_func( employment_types, --palette--;;palette_seo_dates, --palette--;;palette_salary, - --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime', + --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime, + --div--;LLL:EXT:languagevisibility/Resources/Private/Language/locallang_db.xml:tabname, tx_languagevisibility_visibility', ], ], 'palettes' => [ diff --git a/ext_tables.php b/ext_tables.php index e6602b19c33c47c7002efb7bfc94c936c735c0af..8da8a37aad9817a004be1705110c2a61f97e1b9a 100644 --- a/ext_tables.php +++ b/ext_tables.php @@ -69,11 +69,5 @@ call_user_func( \TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class, ['source' => 'EXT:' . $extKey . '/Resources/Public/Icons/module-sgjobs.svg'] ); - - \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes( - 'tx_sgjobs_domain_model_job', - '--div--;LLL:EXT:languagevisibility/Resources/Private/Language/locallang_db.xml:tabname, tx_languagevisibility_visibility' - ); - }, 'sg_jobs' );