Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I went to try and look for how to add css and js from the newb contrib module developers perspective in the API docs and couldn't find it. I think we need to update the render api documentation (which talks about #markup) to include a reference to the #attach attribute.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2359561-make-attatched-more-prevalent-3.patch | 2.19 KB | metzlerd |
#2 | 2359561-make-attatched-more-prevalent-2.patch | 2.18 KB | metzlerd |
Comments
Comment #1
metzlerd CreditAttribution: metzlerd commentedComment #2
metzlerd CreditAttribution: metzlerd commentedHere's a stab at pulling just the basics in with refrence to the code that does the work.
Comment #3
metzlerd CreditAttribution: metzlerd commentedComment #4
metzlerd CreditAttribution: metzlerd commentedMinor corrections...
Comment #5
jhodgdonThe latest patch looks good! Thanks!
Comment #6
alexpottCommitted 2fdeb8f and pushed to 8.0.x. Thanks!
Re-flowed the comment to adhere to the 80 character width rule.