Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

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.

Activity

Total releases
7
First release
Jan 2025
Latest release
2 weeks ago
Releases (12 mo)
3 ▼ from 4
Maintenance
Active

Release Timeline

Releases

Version Type Release date
2.0.8 Stable Jun 28, 2026
2.0.7 Stable Jun 13, 2026
2.0.6 Stable Jan 14, 2026
2.0.5 Stable Feb 3, 2025
2.0.4 Stable Jan 31, 2025
2.0.3 Stable Jan 30, 2025
2.0.2 Stable Jan 29, 2025