Install
Works with Drupal: ^10.3 || ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
12.09 KB
MD5: f0940a50032de38a1a95ac18cf9b7b63
SHA-1: 504d70f7b8b6afc7e30a156cf6e8cab81f2ae43d
SHA-256: 891169cef93b57b62ae6556e58df9b89e71a6b5f14e26627079f969a95313904
Download zip
19.41 KB
MD5: 9111fcf07a5cd8da6a00cb9170fb9fbc
SHA-1: bd40bb2f7d89fb2df5563d854955b3b67263f6ff
SHA-256: 8526ec0a4964bd1ea679236bd5146899936f11e348e4dd382b9bfb3e5bc4d17d
Release notes
Initial release of a working module.
Known Issues
- Cache reload needed after adding or removing a library.
- Only supports adding libraries based on a class or ID, but `data-` is probably more common?
- Selecting the library is a real pain from a giant select list; recommend using Tomselect or core is trying to fix this too.
- No hook for other modules to use this yet; sure they could define the configuration but nah. I'll add this the second somebody wants this and/or make you a comaintainer.
- We might need to add settings kind of often? Like noticed webform in a test doing `drupalSettings` for `['webform']['dialog']['options']` to be `$this->configFactory->get('webform.settings')->get('settings.dialog_options')`