/**
     * Add as content_designer item to the element wizard
     *
     * @param $newElementKey
     * @param $newElementConfig
     * @return void
     */
    public static function addItemToWizard(&$newElementKey, &$newElementConfig)
    {
        // Get the icon if its an file register new icon
        if (strlen($newElementConfig['icon']) > 0) {
            $icon = \TYPO3\CMS\Core\Utility\GeneralUtility::getFileAbsFileName($newElementConfig['icon']);
            if (file_exists($icon)) {
                if (self::$iconRegistry == NULL) {
                    self::$iconRegistry = GeneralUtility::makeInstance(\KERN23\ContentDesigner\Helper\IconRegistryHelper::class);
                }
                self::$iconRegistry->registerNewIcon($newElementKey . '-icon', $icon);
                $newElementConfig['icon'] = $newElementKey . '-icon';
            }
        } else {
            $newElementConfig['icon'] = 'contentdesigner-default';
        }
        // Generate the tsconfig
        ExtensionManagementUtility::addPageTsConfig('
            mod.wizards.newContentElement.wizardItems.' . self::$sheetName . '.show := addToList(' . $newElementKey . ')
            mod.wizards.newContentElement.wizardItems.' . self::$sheetName . '.elements {
                ' . $newElementKey . ' {
                    iconIdentifier = ' . $newElementConfig['icon'] . '
                    title          = ' . $newElementConfig['title'] . '
                    description    = ' . $newElementConfig['description'] . '
                    tt_content_defValues.CType = ' . $newElementKey . '
                }
            }
		');
    }