🇧🇪Belgium wouter.dierick@gmail.com
I implemented this for a custom project:
- add your messages html or render ui_patterns/sdc component on every page inside a tag
- extend the core/drupal.message library with my own library
- add new library and JS with custom Drupal.theme.message implementation (start from web/core/misc/message.js )
- The JS will copy html from the tag, insert type, text inside the html and render it in the
element.
Works good, but by overriding the core js this is quite sensitive for core updates...