Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sheise/26cb1df3307be5953398df5802edb20e to your computer and use it in GitHub Desktop.
Save sheise/26cb1df3307be5953398df5802edb20e to your computer and use it in GitHub Desktop.
diff --git a/docroot/core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php b/docroot/core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
index b2386b4..32d4956 100644
--- a/docroot/core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
+++ b/docroot/core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
@@ -397,7 +397,6 @@ public static function process($element, FormStateInterface $form_state, $form)
'#title' => t('Description'),
'#value' => isset($item['description']) ? $item['description'] : '',
'#maxlength' => $config->get('description.length'),
- '#description' => t('The description may be used as the label of the link to the file.'),
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment