Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Dynamic Library Loader

Security covered Under active development 27 sites

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.

Drupal 10–11

Ask your assistant about Dynamic Library Loader

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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

Tracked releases
14
Tracked since
Nov 2024
Latest release
3 months ago
Releases (12 mo)
3 ▼ from 11
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
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