- πΊπΈUnited States smustgrave
β¨ Add stream wrappers to access extension files Needs work still is open so this is probably still postponed.
In working on a new D8 theme I found that the {{ base_dir }}
variable is available in page.html.twig
, but not html.html.twig
- I'm not sure if that is by design, or an omission, but it would be helpful to have in conjunction with {{ active_theme_path() }}
(which does work in html.html.twig
).
Using base paths/base directories in file URLs is hugely problematic. We have a Twig function for this: file_url()
.
The remaining problem then is that you don't know the location of the theme. This is what
β¨
Add stream wrappers to access extension files
Needs work
solves: it allows you to use theme://theme_name
as a file URI, which file_url()
will transform into a file URL. Using a theme://
file URI works always, regardless of the exact location of the theme. (For example: /sites/all/themes/my_theme
, /sites/mysite.com/themes/my_theme
, /profiles/my_profile/my_theme
β¦)
None.
None.
None.
Postponed
11.0 π₯
theme system
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
β¨ Add stream wrappers to access extension files Needs work still is open so this is probably still postponed.