Skip to content
Snippets Groups Projects
Commit e357af4a authored by catch's avatar catch
Browse files

Issue #1919934 by larowlan: Change key of custom block vertical tabs to use...

Issue #1919934 by larowlan: Change key of custom block vertical tabs to use 'advanced' instead of 'additional_settings()'.
parent 26cf8a2b
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -80,7 +80,7 @@ public function form(array $form, array &$form_state, EntityInterface $block) {
'#access' => isset($language_configuration['language_show']) && $language_configuration['language_show'],
);
$form['additional_settings'] = array(
$form['advanced'] = array(
'#type' => 'vertical_tabs',
'#weight' => 99,
);
......@@ -93,7 +93,7 @@ public function form(array $form, array &$form_state, EntityInterface $block) {
'#collapsible' => TRUE,
// Collapsed by default when "Create new revision" is unchecked.
'#collapsed' => !$block->isNewRevision(),
'#group' => 'additional_settings',
'#group' => 'advanced',
'#attributes' => array(
'class' => array('custom-block-form-revision-information'),
),
......
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