diff --git a/src/bundle/Controller/FieldDefinitionController.php b/src/bundle/Controller/FieldDefinitionController.php index 14fd671005..da2fa48692 100644 --- a/src/bundle/Controller/FieldDefinitionController.php +++ b/src/bundle/Controller/FieldDefinitionController.php @@ -58,7 +58,7 @@ public function addFieldDefinitionAction( $fieldDefinitionCreateStruct->fieldGroup = $input->fieldGroupIdentifier; $fieldDefinitionCreateStruct->names = [ - $language->languageCode => "New $fieldDefinitionCreateStruct->fieldTypeIdentifier field definition", + $language->languageCode => 'New field type', ]; if (!$contentTypeDraft->fieldDefinitions->isEmpty()) {