Link to the libraries.yml file for libraries attached in code

Created on 29 June 2019, about 6 years ago
Updated 4 June 2025, 28 days ago

It would be really cool if in this sort of PHP code:

    $element['#attached']['library'][] = 'core/drupal.vertical-tabs';

the string that's the library name was made as a link to the libraries.yml file for the module that defines the library, and if on the page for the yml file, the JS and CSS files were links too.

Feature request
Status

Active

Version

2.0

Component

Parser

Created by

🇬🇧United Kingdom joachim

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

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