diff -u b/core/modules/media/media.module b/core/modules/media/media.module --- b/core/modules/media/media.module +++ b/core/modules/media/media.module @@ -182,7 +182,7 @@ } /** - * Implements hook_field_widget_multiple_WIDGET_TYPE_form_alter(). + * Implements hook_field_widget_multivalue_WIDGET_TYPE_form_alter(). */ function media_field_widget_multivalue_entity_reference_autocomplete_form_alter(array &$elements, FormStateInterface $form_state, array $context) { // Add a description to inform users where they can find and add new media. diff -u b/core/modules/media/templates/media-reference-help.html.twig b/core/modules/media/templates/media-reference-help.html.twig --- b/core/modules/media/templates/media-reference-help.html.twig +++ b/core/modules/media/templates/media-reference-help.html.twig @@ -49,15 +49,11 @@

{{ media_list_help }} - {% if media_list_link %} - {{ media_list_link }} - {% endif %} + {{ media_list_link }} {{ types }}

{% if multiple %} - {% if description.content %} - {{ description.content }} - {% endif %} + {{ description.content }} {% if button %}
{{ button }}
{% endif %}