Skip to content

Commit

Permalink
Fix default
Browse files Browse the repository at this point in the history
  • Loading branch information
Isengo1989 committed Feb 27, 2024
1 parent 1f96adb commit cdb82ef
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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' => [
Expand All @@ -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
]
Expand Down Expand Up @@ -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).

0 comments on commit cdb82ef

Please sign in to comment.