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) { ...@@ -80,7 +80,7 @@ public function form(array $form, array &$form_state, EntityInterface $block) {
'#access' => isset($language_configuration['language_show']) && $language_configuration['language_show'], '#access' => isset($language_configuration['language_show']) && $language_configuration['language_show'],
); );
$form['additional_settings'] = array( $form['advanced'] = array(
'#type' => 'vertical_tabs', '#type' => 'vertical_tabs',
'#weight' => 99, '#weight' => 99,
); );
...@@ -93,7 +93,7 @@ public function form(array $form, array &$form_state, EntityInterface $block) { ...@@ -93,7 +93,7 @@ public function form(array $form, array &$form_state, EntityInterface $block) {
'#collapsible' => TRUE, '#collapsible' => TRUE,
// Collapsed by default when "Create new revision" is unchecked. // Collapsed by default when "Create new revision" is unchecked.
'#collapsed' => !$block->isNewRevision(), '#collapsed' => !$block->isNewRevision(),
'#group' => 'additional_settings', '#group' => 'advanced',
'#attributes' => array( '#attributes' => array(
'class' => array('custom-block-form-revision-information'), 'class' => array('custom-block-form-revision-information'),
), ),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment