Skip to content

Commit

Permalink
[TASK] Remove duplicate tsconfig (#191)
Browse files Browse the repository at this point in the history
It is already added in Configuration/TSconfig/User
  • Loading branch information
linawolf authored Aug 2, 2023
1 parent a229981 commit 20acb1d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Configuration/TCA/Overrides/pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,3 @@
];
// Add the icon to the icon class configuration
$GLOBALS['TCA']['pages']['ctrl']['typeicon_classes'][$customPageDoktype] = $customIconClass;
// Add the new doktype to the list of types available from the new page menu at the top of the page tree
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig(
'options.pageTree.doktypesToShowInNewPageDragArea := addToList(' . $customPageDoktype . ')'
);

0 comments on commit 20acb1d

Please sign in to comment.