Skip to content
Snippets Groups Projects
Commit cdbe269e authored by Mingsong Hu's avatar Mingsong Hu
Browse files

Fix profile plugin value bug

parent 80128b92
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,7 @@ class HmDisplayProfileForm extends EntityForm { ...@@ -79,7 +79,7 @@ class HmDisplayProfileForm extends EntityForm {
'#type' => 'radios', '#type' => 'radios',
'#title' => $this->t('Display plugin'), '#title' => $this->t('Display plugin'),
'#options' => $display_plugin_labels, '#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.'), '#description' => $this->t('Display plugin that is in charge of rendering the hierarchy view.'),
'#required' => TRUE, '#required' => TRUE,
]; ];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment