diff --git a/core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php b/core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php index 7ed62ba..dac768e 100644 --- a/core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php +++ b/core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php @@ -244,6 +244,10 @@ public function formElement(FieldItemListInterface $items, $delta, array $elemen // title of the 'uri' element. if ($this->getFieldSetting('title') == DRUPAL_DISABLED) { $element['uri']['#title'] = $element['#title']; + if (!empty($element['uri']['#description'])) { + $element['uri']['#description'] .= '
'; + } + $element['uri']['#description'] .= $element['#description']; } // Otherwise wrap everything in a details element. else {