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
Tags 8.x-1.0-beta2
No related merge requests found
......@@ -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,
];
......
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