-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Cms module refactor #3575
Cms module refactor #3575
Conversation
@w20k could you review this? |
On it @LukeTowers |
Merge Upstream Changes
…ctober into cms-module-refactor
This pull request will be closed and archived in 3 days, as there has been no activity in the last 30 days. If this is still being worked on, please respond and we will re-open this pull request. |
This pull request will be closed and archived in 3 days, as there has been no activity in the last 30 days. If this is still being worked on, please respond and we will re-open this pull request. |
This pull request will be closed and archived in 3 days, as there has been no activity in the last 30 days.
|
Closing - this PR appears to be abandoned. |
Credit to @SeriousKen for the original work in octobercms/october#3575
Credit to @SeriousKen for the original work in octobercms/october#3575
Credit to @SeriousKen for the original work in octobercms/october#3575
This is a refactor of the CMS module to move the Twig environment creation into the container avoiding the repetition of creation in the
CmsCompoundObject
and theController
. It removes the controller dependency on theDebugExtension
which didn't seem necessary and it removes it from theCms\Twig\Extension
constructor, which gets it instead from the Twig context.It shouldn't change any behaviour but this does fix an issue with the Pages plugin where the lack of
DebugExtension
caused an issue