diff --git a/src/Plugin/paragraphs/Behavior/UIStyleOptions.php b/src/Plugin/paragraphs/Behavior/UIStyleOptions.php index 7e254a573018fd36fe36855e995e229bdf827737..ee0e8dff3f3d26ba23eee32215a032cf43724f4a 100644 --- a/src/Plugin/paragraphs/Behavior/UIStyleOptions.php +++ b/src/Plugin/paragraphs/Behavior/UIStyleOptions.php @@ -180,7 +180,7 @@ class UIStyleOptions extends ParagraphsBehaviorBase { // @phpstan-ignore-next-line $form['enabled_styles'][$group_key]['#open'] = $opened_group; if (isset($this->configuration['enabled_styles'][$group_key])) { - $plugin_element['#default_value'] = isset($this->configuration['enabled_styles'][$group_key][$style_plugin_id]) ? $style_plugin_id : ''; + $plugin_element['#default_value'] = $this->configuration['enabled_styles'][$group_key][$style_plugin_id] ?? ''; } $form['enabled_styles'][$group_key][$style_plugin_id] = $plugin_element; }