Dynamic Library Loader
This module provides a user interface to attach specific CSS and JavaScript libraries to individual entities, such as content types, taxonomy vocabularies, views, and paragraphs. This ensures that these libraries are loaded appropriately during the aggregation process, preventing rendering issues.
This module gives a UI to loading specific libraries on specific entities. For instance, have a paragraph that has css/js specific only to that paragraph? Attaching it to the twig template can be hit or miss, since that attaches the library after the global css gets aggregated. This module fixes that. It attaches the library when aggregating global libraries, reducing the chance of weird things like css not rendering.
Please keep in mind to use the machine names when creating the library entries in the form. You may select the entity type from a dropdown, but the other fields require machine names. See screenshot for what the config form looks like to add your libraries.
Previous versions of the module were dependent on the paragraphs module, but this is not the case anymore.
The form can be found in the admin menu, under Configuration>System
Right now, it allows for content types, taxonomy vocabulary, views, and paragraphs.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 2.0.8 | Stable | 10–11 | Jun 28, 2026 | ||
| 2.0.7 | Stable | 10–11 | Jun 13, 2026 | ||
| 2.0.6 | Stable | 10–11 | Drupal 12 Compatibility | Jan 14, 2026 | |
| 2.0.5 | Stable | 10–11 | Feb 3, 2025 | ||
| 2.0.4 | Stable | 10–11 | Jan 31, 2025 | ||
| 2.0.3 | Stable | 10–11 | Jan 30, 2025 | ||
| 2.0.2 | Stable | 10–11 | Jan 29, 2025 | ||
| 2.0.1 | Stable | 10–11 | Dec 13, 2024 | ||
| 2.0.0 | Stable | 10–11 | Dec 13, 2024 | ||
| 2.0.x-dev | Dev | 10–11 | Dec 13, 2024 | ||
| 1.0.0-beta3 | Pre-release | 10–11 | Nov 21, 2024 | ||
| 1.0.0-beta2 | Pre-release | 10–11 | Nov 20, 2024 | ||
| 1.0.0-beta1 | Pre-release | 10–11 | Nov 20, 2024 | ||
| 1.0.x-dev | Dev | 10–11 | Nov 20, 2024 |