Skip to content

Commit 4d4562a

Browse files
authored
IBX-10571: Added missing SEO fields to "add translation" view (#1760)
added missing seo fields to "add translation" view
1 parent 552fcfa commit 4d4562a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bundle/Controller/ContentTypeController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ public function addTranslationAction(Request $request): Response
240240

241241
try {
242242
$contentTypeDraft = $this->tryToCreateContentTypeDraft($contentType);
243+
$this->metaFieldDefinitionService->addMetaFieldDefinitions($contentTypeDraft, $language);
243244
} catch (BadStateException $e) {
244245
$userId = $contentType->modifierId;
245246
$this->notificationHandler->error(

0 commit comments

Comments
 (0)