Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Custom Library

No security coverage Drupal 8–11
View on drupal.org

This module allows administrators to manage external CSS and JavaScript libraries directly through the Drupal admin interface, rather than by editing `library.yml` files. It provides a configuration form to add and manage these libraries, offering basic settings and advanced options like specifying weights and enabling them on specific pages.

ORGANISING MODULES IN THIS DIRECTORY

Stop altering you library.yml files on every library added, using this module, you able to add or delete the external libraries.

You may add Some external libraries like css/js to your site.

You can access the configuration form Link called "Custom Library Settings" under Structure menu

OR

Directly access the form link by "/admin/custom-library/configuration"

CONFIGURATION

Please select the asset type as "Custom" to add external links for our site.

You can add the links with comma of any css or js from external site

example format for css: https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css, https://cdn.datatables.net/2.3.2/css/dataTables.dataTables.min.css

example format for js: https://cdnjs.cloudflare.com/ajax/libs/gsap/3.2.6/gsap.min.js, https://cdn.datatables.net/2.3.2/js/dataTables.min.js

make sure if enable the checkbox called "Enable Custom Library", then only the changes will affected.

once the links were added, save this configuration

If you want some advanced options like add weight for JS and CSS libraries, then access the advanced settings page for CSS or JS.

In the Advanced settings page you can add weight for CSS and JS libraries. You can add more libraries using advanced settings.

Additionally we had add the option for enable the css and js libraries for single page.

Add the path alias, asset url and weight for the library.

MORE INFORMATION

This module didn't fetched the previous libraries.

Advanced JS settings, only the negative values were accepted.

Use only the path alias for assets per page settings, don't use internal path like '/node/{id}' or '/term/{id}'.

Once you save the configuration Please make sure you have cleared all the caches.

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
5
Tracked since
Jun 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 5
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
2.0.2 Stable 8–11 Jun 24, 2025
2.0.1 Stable 8–11 Jun 23, 2025
1.0.0 Stable 8–11 Jun 23, 2025
2.0.0 Stable 8–11 Jun 23, 2025
2.0.x-dev Dev 8–11 Jun 23, 2025