Skip to content
Snippets Groups Projects
Commit 77fe80fc authored by Kevin von Spiczak's avatar Kevin von Spiczak
Browse files

[TASK] formatting

parent 8cc82afe
No related branches found
No related tags found
No related merge requests found
...@@ -383,28 +383,28 @@ foreach ( ...@@ -383,28 +383,28 @@ foreach (
if ( if (
!\in_array( !\in_array(
$languageExcludeField, [ $languageExcludeField, [
'doktype', 'doktype',
'title', 'title',
'subtitle', 'subtitle',
'description', 'description',
'slug', 'slug',
'tx_projectbase_path_segment', 'tx_projectbase_path_segment',
'tx_projectbase_excludefromsluggeneration', 'tx_projectbase_excludefromsluggeneration',
'tx_sgnews_location', 'tx_sgnews_location',
'tx_sgnews_teaser1_image', 'tx_sgnews_teaser1_image',
'tx_sgnews_teaser2_image', 'tx_sgnews_teaser2_image',
'tx_sgnews_tags', 'tx_sgnews_tags',
'abstract', 'abstract',
'tx_projectbase_seo_titletag', 'tx_projectbase_seo_titletag',
'tx_projectbase_seo_canonicaltag', 'tx_projectbase_seo_canonicaltag',
'hidden', 'hidden',
'sys_language_uid', 'sys_language_uid',
'tx_languagevisibility_visibility', 'tx_languagevisibility_visibility',
'lastUpdated', 'lastUpdated',
'tx_sgnews_date_end', 'tx_sgnews_date_end',
'tx_sgnews_highlighted', 'tx_sgnews_highlighted',
'tx_sgnews_never_highlighted', 'tx_sgnews_never_highlighted',
] ]
) )
) { ) {
$GLOBALS['TCA']['pages']['types'][\SGalinski\SgNews\Utility\BackendNewsUtility::NEWS_DOKTYPE]['columnsOverrides'][$languageExcludeField]['l10n_mode'] = 'exclude'; $GLOBALS['TCA']['pages']['types'][\SGalinski\SgNews\Utility\BackendNewsUtility::NEWS_DOKTYPE]['columnsOverrides'][$languageExcludeField]['l10n_mode'] = 'exclude';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment