- Issue created by @penyaskito
Library discovery Parser should allow a constant for modules and themes versions in libraries.yml.
VERSION
was added in
#2223143: Consolidate library extension caches into a single cache entry →
, a follow-up for this was mentioned but never created.
Allow EXTENSION_VERSION, THEME_VERSION to *.yml.
Or even re-use VERSION (we are already checking in the parser if it's in core or not), and introduce CORE_VERSION for the few edge cases (if any) where contrib might need to depend on Drupal core version.
MR with tests.
None.
API additions only.
None.
Allowing better caching of library assets, as they don't need to vary on every cache flush but on the actual updates.
Active
11.0 🔥
asset library system