From e357af4a143b6e97fb46ecd6d7a308e33946295d Mon Sep 17 00:00:00 2001 From: catch <catch@35733.no-reply.drupal.org> Date: Thu, 28 Feb 2013 11:36:28 +0000 Subject: [PATCH] Issue #1919934 by larowlan: Change key of custom block vertical tabs to use 'advanced' instead of 'additional_settings()'. --- .../lib/Drupal/custom_block/CustomBlockFormController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/block/custom_block/lib/Drupal/custom_block/CustomBlockFormController.php b/core/modules/block/custom_block/lib/Drupal/custom_block/CustomBlockFormController.php index bec8b59a3ef5..ccc7eca26d6b 100644 --- a/core/modules/block/custom_block/lib/Drupal/custom_block/CustomBlockFormController.php +++ b/core/modules/block/custom_block/lib/Drupal/custom_block/CustomBlockFormController.php @@ -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'), ), -- GitLab