From 54dbc4e2dc5f3e743d8510bd553d68eaf4fb94fe Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Mon, 10 Feb 2020 10:54:11 +0000 Subject: [PATCH] Issue #3111390 by Deepthi kumari, design.er: Attributes key missing hash or pound sign in claro (cherry picked from commit 23a68b11a16df4d0ec6d552b2d3424d7a58db396) --- core/themes/claro/claro.theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/themes/claro/claro.theme b/core/themes/claro/claro.theme index 19f30a4f2f7..18302dc9306 100644 --- a/core/themes/claro/claro.theme +++ b/core/themes/claro/claro.theme @@ -1304,7 +1304,7 @@ function claro_form_media_library_add_form_upload_alter(array &$form, FormStateI * Implements hook_form_FORM_ID_alter(). */ function claro_form_media_library_add_form_oembed_alter(array &$form, FormStateInterface $form_state) { - $form['attributes']['class'][] = 'media-library-add-form--oembed'; + $form['#attributes']['class'][] = 'media-library-add-form--oembed'; // If no media items have been added yet, add a couple of styling classes // to the initial URL form.