diff --git a/src/Form/HmDisplayProfileForm.php b/src/Form/HmDisplayProfileForm.php index 87c8811261bc344a8b5dc5e7468f1a16e6543491..29795421e6afa1f31ba724992850c81d302a5e12 100644 --- a/src/Form/HmDisplayProfileForm.php +++ b/src/Form/HmDisplayProfileForm.php @@ -79,7 +79,7 @@ class HmDisplayProfileForm extends EntityForm { '#type' => 'radios', '#title' => $this->t('Display plugin'), '#options' => $display_plugin_labels, - '#default_value' => $hm_display_profile->get("plugin") ?: ['hm_display_jstree'], + '#default_value' => $hm_display_profile->get("plugin") ?: 'hm_display_jstree', '#description' => $this->t('Display plugin that is in charge of rendering the hierarchy view.'), '#required' => TRUE, ];