diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EmailDefaultWidget.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EmailDefaultWidget.php index ce581df..8114c39 100644 --- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EmailDefaultWidget.php +++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EmailDefaultWidget.php @@ -41,7 +41,7 @@ public static function defaultSettings() { public function settingsForm(array $form, FormStateInterface $form_state) { $element['size'] = array( '#type' => 'number', - '#title' => $this->t('Size of the input field'), + '#title' => $this->t('Textfield size'), '#default_value' => $this->getSetting('size'), '#required' => TRUE, '#min' => 1, diff --git a/core/modules/field/field.post_update.php b/core/modules/field/field.post_update.php index 0341bd3..4d0c80b 100644 --- a/core/modules/field/field.post_update.php +++ b/core/modules/field/field.post_update.php @@ -47,7 +47,7 @@ function field_post_update_entity_reference_handler_setting() { */ /** - * @addtogroup updates-8.1.0-beta + * @addtogroup updates-8.1.0 * @{ */ @@ -74,5 +74,5 @@ function field_post_update_email_widget_size_setting() { } /** - * @} End of "addtogroup updates-8.1.0-beta". + * @} End of "addtogroup updates-8.1.0". */ diff --git a/core/modules/field/src/Tests/Update/EmailWidgetSizeSettingUpdateTest.php b/core/modules/field/src/Tests/Update/EmailWidgetSizeSettingUpdateTest.php index 0a4a80a..c0b56d8 100644 --- a/core/modules/field/src/Tests/Update/EmailWidgetSizeSettingUpdateTest.php +++ b/core/modules/field/src/Tests/Update/EmailWidgetSizeSettingUpdateTest.php @@ -2,7 +2,7 @@ /** * @file - * Contains \Drupal\field\Tests\Update\EntityReferenceHandlerSettingUpdateTest. + * Contains \Drupal\field\Tests\Update\EmailWidgetSizeSettingUpdateTest. */ namespace Drupal\field\Tests\Update; @@ -35,8 +35,8 @@ public function testFieldPostUpdateEmailWidgetSizeSetting() { $configFactory = $this->container->get('config.factory'); // Load the 'node.article.default' entity form display and check that the - // widget for 'field_email' does not have a 'size' setting. - /** @var \Drupal\Core\Config\Config */ + // widget for 'field_email_2578741' does not have a 'size' setting. + /** @var \Drupal\Core\Config\Config $config */ $config = $configFactory->get('core.entity_form_display.node.article.default'); $settings = $config->get('content.field_email_2578741.settings'); $this->assertTrue(!isset($settings['size']), 'The size setting does not exist prior to running the update functions.');