You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Drupal 7, drupal_add_js could be used to load JS inline (when appropriate). This has been replaced by #attached, seen here: https://www.drupal.org/node/2169605
qrcode js should be in the libraries.yml file.
Currently it is defined in hook_library.
Though we are not using this currently, should we remove this altogether given it requires you to add inline js?
I tried a lot but could not find any info on how to add inline js in drupal 8.
The text was updated successfully, but these errors were encountered: