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

(cherry picked from commit 23a68b11a1)
merge-requests/64/head
Alex Pott 2020-02-10 10:54:11 +00:00
parent 62dcbf8160
commit 54dbc4e2dc
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
1 changed files with 1 additions and 1 deletions

View File

@ -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.