diff --git a/Documentation/ApiOverview/ContentElements/_AddingYourOwnContentElements/_tt_content.php b/Documentation/ApiOverview/ContentElements/_AddingYourOwnContentElements/_tt_content.php index 5c972d4366..50e3a9534d 100644 --- a/Documentation/ApiOverview/ContentElements/_AddingYourOwnContentElements/_tt_content.php +++ b/Documentation/ApiOverview/ContentElements/_AddingYourOwnContentElements/_tt_content.php @@ -23,4 +23,7 @@ 'after' ); +// Adds the content element icon to TCA typeicon_classes +$GLOBALS['TCA']['tt_content']['ctrl']['typeicon_classes']['myextension_newcontentelement'] = 'content-text'; + // ...