-
Notifications
You must be signed in to change notification settings - Fork 350
Remove MetaTwigExtension
and SeoTwigExtension
#7782
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
UPGRADE.md
Outdated
@@ -2,6 +2,12 @@ | |||
|
|||
## 3.0.0 | |||
|
|||
### Removing deprecated twig functions | |||
- `sulu_meta_alternate` (use `sulu_seo` instead) |
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.
sulu_seo
is deprecated:
sulu/src/Sulu/Bundle/WebsiteBundle/Twig/Seo/SeoTwigExtension.php
Lines 75 to 80 in 0c27c41
@trigger_deprecation( | |
'sulu/sulu', | |
'1.x', | |
'This twig extension is deprecated and should not be used anymore, include the "%s".', | |
$template | |
); |
Replacement is calling directly the twig file like in the skeleton:
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.
Should I also include the removal of this function in this PR or create a different PR for that?
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.
You can remove it in this PR
e70199e
to
7d290f9
Compare
MetaTwigExtension
MetaTwigExtension
and SeoTwigExtension
Should be ready for merging now. |
@mamazu awesome. Thank you 🚀 |
What's in this PR?
Removing the deprecated
MetaTwigExtension
Why?
Sulu 3.0 cleanup is real.