Created
April 20, 2021 07:14
-
-
Save briezler/3c7617268a9c6edf48b5fd65da1ab374 to your computer and use it in GitHub Desktop.
List all ctype content elements TYPO3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$items = $GLOBALS['TCA']['tt_content']['columns']['CType']['config']['items']; | |
foreach($items as $item) { | |
if ($item[1] != '--div--') { | |
echo $item[1] . ', '; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment