Closed yorkshire-pudding closed 3 weeks ago
Same here. :wink:
Thanks @yorkshire-pudding and @indigoxela -- I found the same. I opened it as a core issue but will leave this one open as well until we figure out for sure if it's something I did wrong in this module or if it's actually a core issue:
@yorkshire-pudding or @indigoxela -- if either of you have your icon browser test site open yet, does the linked PR solve it for you? I guess that 'path' may not be needed?
I belief, it's core.
If I set backdrop_theme_initialize();
inside function _icon_from_theme() everything works.
Not matter, where I try backdrop_theme_initialize in your module - the problem persists.
The error reminded me, that the theme information is usually available for themes, but not for modules.
@laryn yes, the patch (one liner) fixes it. :+1:
Was getting a cup of tea, but can also confirm this fixes it. Thanks @laryn
🍵 I've also renamed the branch, FYI. Not sure why I started that way, to be honest.
Installed using the
prerelease
branchLoad page. Click on icon