Commit 33094736 authored by alexpott's avatar alexpott

Issue #3111390 by Deepthi kumari, design.er: Attributes key missing hash or pound sign in claro

(cherry picked from commit 23a68b11)
parent 91be42fe
......@@ -1306,7 +1306,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.
......
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