diff --git a/Classes/Integration/ContentTypeBuilder.php b/Classes/Integration/ContentTypeBuilder.php index 7c1faf046..61bb04854 100644 --- a/Classes/Integration/ContentTypeBuilder.php +++ b/Classes/Integration/ContentTypeBuilder.php @@ -255,7 +255,7 @@ public function addBoilerplateTableConfiguration($contentType) protected function addPageTsConfig(Form $form, $contentType) { // Icons required solely for use in the "new content element" wizard - $formId = $form->getId(); + $formId = $form->getId() ?: $contentType; $group = $form->getOption(Form::OPTION_GROUP); $groupName = $this->sanitizeString($group ?? 'fluxContent'); $extensionKey = ExtensionNamingUtility::getExtensionKey($form->getExtensionName());