Timeline for How to attach a library to a page controller that returns a plain Symfony response?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 17, 2019 at 10:50 | history | edited | avpaderno♦ |
edited tags
|
|
May 1, 2018 at 16:47 | vote | accept | ptinca | ||
Apr 29, 2018 at 14:16 | answer | added | 4uk4 | timeline score: 2 | |
Apr 29, 2018 at 14:16 | comment | added | ptinca | I don't want to display it in a page. I would like to have it completely separate, only with whatever I put in my #theme_base template. | |
Apr 29, 2018 at 14:09 | comment | added | Razeem Ahmad |
If you are displaying it in a page in drupal site itself then you don't need to use renderRoot() . The libraries will be attached since drupal renders the renderable array $build that you return.
|
|
Apr 29, 2018 at 13:57 | history | asked | ptinca | CC BY-SA 3.0 |