Commit 585087f5 authored by catch's avatar catch
Browse files

Issue #2639796 by swentel: file widget duplicate code

parent 831b404a
......@@ -186,7 +186,6 @@ protected function formMultipleElements(FieldItemListInterface $items, array &$f
$elements['#description'] = $description;
$elements['#field_name'] = $field_name;
$elements['#language'] = $items->getLangcode();
$elements['#display_field'] = (bool) $this->getFieldSetting('display_field');
// The field settings include defaults for the field type. However, this
// widget is a base class for other widgets (e.g., ImageWidget) that may
// act on field types without these expected settings.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment