New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a Twig function to generate content URLs #6738
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs a try catch block 馃
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from failing CS 馃憤
Any reason this is a separate extension and not in our default |
I initially had it in there. But I don't know why everything is in one instead of split by topic? I feld like adding yet another constructor injection felt kinda bad style? |
Why constructor injection? We're using runtimes for nearly everything which already separates stuff (and makes it lazy). The only reason for another extension would IMHO be if this will be put in another bundle or users could use it individually. |
I agree with @m-vo here, the |
You mean like this? |
Yes, perfect 鉂わ笍 |
b35e4d3
to
047d6e5
Compare
Thank you @aschempp. |
First thing I found missing while using content URLs in my project 馃檭