Skip to content

Commit

Permalink
Issue #5345: Initially expand global settings fieldset in field UI.
Browse files Browse the repository at this point in the history
  • Loading branch information
indigoxela authored and quicksketch committed Dec 27, 2024
1 parent 7f84e10 commit 321e6da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/modules/field_ui/field_ui.admin.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1991,7 +1991,8 @@ function field_ui_field_edit_form($form, &$form_state, $instance) {
$form['field'] = array(
'#type' => 'fieldset',
'#collapsible' => TRUE,
'#collapsed' => TRUE,
// Open when first creating a field and close when editing.
'#collapsed' => empty($_GET['destinations']),
'#title' => t('Global settings'),
'#description' => $description,
'#tree' => TRUE,
Expand Down

0 comments on commit 321e6da

Please sign in to comment.