Skip to content

Commit

Permalink
Merge pull request #356 from esmero/patdunlavey-patch-1--FormatStrawb…
Browse files Browse the repository at this point in the history
…erryfieldRestOaiPmhSettingsForm-buildForm

Update FormatStrawberryfieldRestOaiPmhSettingsForm.php
  • Loading branch information
patdunlavey authored Sep 14, 2023
2 parents 6860c18 + 14499f0 commit bea6d59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
'#empty_value' => '',
'#title' => 'DC wrapper elements',
'#description' => 'Provide attributes and values in json format',
'#default_value' => json_encode($config->get('mods-wrapper-elements') ?? MetadatadisplayTemplateMapDc::defaultMetadataWrapperElements(), JSON_PRETTY_PRINT),
'#default_value' => json_encode($config->get('dc-wrapper-elements') ?? MetadatadisplayTemplateMapDc::defaultMetadataWrapperElements(), JSON_PRETTY_PRINT),
'#required' => TRUE,
'#rows' => 8,
];
Expand Down

0 comments on commit bea6d59

Please sign in to comment.