VERSION in library declarations does not work for contributed/custom modules

Created on 25 February 2014, about 11 years ago
Updated 7 March 2024, about 1 year ago

Problem

  1. Only core modules are able to specify version: VERSION in their declared libraries, because the version of a core module is the version of Drupal core.
  2. In case a module or theme is updated, then the version query string that is appended to the library asset files on output will not reflect the new version.
  3. The version of a non-core module has to be retrieved from the extension system.

This may or may not be resolved by #2203411: Convert drupal_get_library() into a service โ†’ , so tracking as an independent issue to be sure that we will resolve it.

๐Ÿ“Œ Task
Status

Needs work

Version

11.0 ๐Ÿ”ฅ

Component
Asset libraryย  โ†’

Last updated 5 days ago

No maintainer
Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany sun Karlsruhe

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024