From cdb82ef775f8cb3b688be2769ddc7e7ff46c6aa0 Mon Sep 17 00:00:00 2001 From: Micha Hobert Date: Tue, 27 Feb 2024 13:16:41 +0100 Subject: [PATCH] Fix default --- .../plugins/framework/custom-field/add-custom-field.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/guides/plugins/plugins/framework/custom-field/add-custom-field.md b/guides/plugins/plugins/framework/custom-field/add-custom-field.md index 05af14942..c1fd63fd5 100644 --- a/guides/plugins/plugins/framework/custom-field/add-custom-field.md +++ b/guides/plugins/plugins/framework/custom-field/add-custom-field.md @@ -248,7 +248,7 @@ $this->customFieldSetRepository->create([ 'label' => [ 'en-GB' => 'English custom field set label', 'de-DE' => 'German custom field set label', - Defaults::SYSTEM_LANGUAGE => "Mention the fallback label here" + Defaults::LANGUAGE_SYSTEM => "Mention the fallback label here" ] ], 'customFields' => [ @@ -259,7 +259,7 @@ $this->customFieldSetRepository->create([ 'label' => [ 'en-GB' => 'English custom field label', 'de-DE' => 'German custom field label', - Defaults::SYSTEM_LANGUAGE => "Mention the fallback label here" + Defaults::LANGUAGE_SYSTEM => "Mention the fallback label here" ], 'customFieldPosition' => 1 ] @@ -287,4 +287,4 @@ While theoretically your custom field is now properly defined for the Administra ## Next steps -If you want to extend an entity with new associations and non-scalar values, head over to our guide regarding [Extending existing entities](../data-handling/add-complex-data-to-existing-entities). +If you want to extend an entity with new associations and non-scalar values, head over to our guide regarding [Extending existing entities](../data-handling/add-complex-data-to-existing-entities). \ No newline at end of file