Skip to content
Snippets Groups Projects
Commit e301a304 authored by Eric Bremner's avatar Eric Bremner
Browse files

Issue #3187491: moving the block id form element to the bottom of the form

parent 46edfab2
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ class LayoutBuilderIdsConfigureBlock implements EventSubscriberInterface { ...@@ -36,7 +36,7 @@ class LayoutBuilderIdsConfigureBlock implements EventSubscriberInterface {
$form['settings']['layout_builder_id'] = [ $form['settings']['layout_builder_id'] = [
'#type' => 'textfield', '#type' => 'textfield',
'#title' => 'Block ID', '#title' => 'Block ID',
'#weight' => 0, '#weight' => 99,
'#default_value' => $layout_builder_id ?: NULL, '#default_value' => $layout_builder_id ?: NULL,
'#description' => t('Enter an ID for the block. IDs can contain letters, numbers, underscore, hyphen and period characters, and should start with a letter.'), '#description' => t('Enter an ID for the block. IDs can contain letters, numbers, underscore, hyphen and period characters, and should start with a letter.'),
]; ];
......
...@@ -37,7 +37,7 @@ class LayoutBuilderIdsConfigureSection implements EventSubscriberInterface { ...@@ -37,7 +37,7 @@ class LayoutBuilderIdsConfigureSection implements EventSubscriberInterface {
$form['layout_settings']['layout_builder_id'] = [ $form['layout_settings']['layout_builder_id'] = [
'#type' => 'textfield', '#type' => 'textfield',
'#title' => 'Section ID', '#title' => 'Section ID',
'#weight' => 0, '#weight' => 99,
'#default_value' => $config['layout_builder_id'] ?: NULL, '#default_value' => $config['layout_builder_id'] ?: NULL,
'#description' => t('Enter an ID for the section. IDs can contain letters, numbers, underscore, hyphen and period characters, and should start with a letter.'), '#description' => t('Enter an ID for the section. IDs can contain letters, numbers, underscore, hyphen and period characters, and should start with a letter.'),
]; ];
......
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