Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293492

Remove drupal_add_js/css from seven.theme

$
0
0

Add a hook_library_info in the theme and use drupal_add_library instead of drupal_add_js/css

Something that might cause a conceptual problem is having a library_info hook in the theme. Theme need to declare their scripts' dependencies too. It's kind of required for it to be available at this level.

AttachmentSizeStatusTest resultOperations
core-seven-libraries.patch1.58 KBIdlePASSED: [[SimpleTest]]: [MySQL] 54,285 pass(es).View details | Re-test

Viewing all articles
Browse latest Browse all 293492

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>