Drupal 8 passing JS variables from controller
ฝัง
- เผยแพร่เมื่อ 19 ก.ย. 2024
- In this video, we are going to pass a JavaScript variable from our controller, pulled from the configuration management to our JS file.
If you liked this video, please also have a look at my course about Drupal 8 module development here (with 50% discount):
goo.gl/LPyeDw
🤓 If you want to support Drupal Up's TH-cam channel:
/ drupal_up
Here is the codebase of our example:
github.com/dru...
More videos and stuff you may find on drupal-up.com
To support us please, don't forget to share, subscribe, like and comment on the video!
Great practical example of jquery once.