diff --git a/core/modules/media/media.module b/core/modules/media/media.module index af57f75ab6..5f9368b9bc 100644 --- a/core/modules/media/media.module +++ b/core/modules/media/media.module @@ -208,9 +208,10 @@ function media_field_widget_multivalue_entity_reference_autocomplete_form_alter( */ function media_preprocess_media_reference_help(&$variables) { // Most of these attribute checks are copied from - // template_preprocess_fieldset(), because our template extends - // field-multiple-value-form.html.twig to provide our help text but also - // group the information within a semantic fieldset with a legend. + // template_preprocess_fieldset(). Our template extends + // field-multiple-value-form.html.twig to provide our help text, but also + // groups the information within a semantic fieldset with a legend. So, we + // incorporate parity for both. $element = $variables['element']; Element::setAttributes($element, ['id']); RenderElement::setAttributes($element);