Correct me if I'm wrong but this module doesn't currently allow a module to define component libraries. Is there a technical limitation to why this is? If not, can you give me some pointers on where to start so I can start working on a patch?
Further, everything I've seen so far seems to assume that components are a descendant of a theme folder. Is there a reason that this couldn't be changed to allow for more arbitrary location of components?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2837836-fix-module-info.patch | 1.21 KB | aleksip |
Comments
Comment #2
aleksipThe current code expects module
.info.ymlfile data to be in theExtensionobject, but that is not the case. Here is a patch that adds the info and makes it possible to define component libraries in modules as well.Comment #3
robloachNice work, @aleksip. Looks good... Should the system_get_info() call also apply to $type 'theme' too?
Comment #4
aleksipThanks! Theme
Extensionobjects already have the required info, sosystem_get_info()is needed for modules only.Comment #5
robloachSounds good!
Comment #6
robloach@aleksip Would you mind reviewing #2852837: Have Twig handle path errors ?
Comment #8
robloach