Skip to content
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

ContentContext::getCurrentRenderingMode to RenderingModeService::findByCurrentUser #31

Closed
Tracked by #25
dlubitz opened this issue Oct 23, 2023 · 2 comments · Fixed by #36
Closed
Tracked by #25

ContentContext::getCurrentRenderingMode to RenderingModeService::findByCurrentUser #31

dlubitz opened this issue Oct 23, 2023 · 2 comments · Fixed by #36
Assignees

Comments

@dlubitz
Copy link
Contributor

dlubitz commented Oct 23, 2023

- $renderingMode = $context->getCurrentRenderingMode();
+ $renderingMode = $this->renderingModeService->findByCurrentUser();
@dlubitz dlubitz mentioned this issue Oct 23, 2023
9 tasks
@dlubitz dlubitz self-assigned this Oct 23, 2023
@mhsdesign
Copy link
Member

Hmm the ContentContext was initially marked as internal (at least $node->getContext() declared it.

I would rather focus on more critical things like the Node::* methods ;)

@dlubitz
Copy link
Contributor Author

dlubitz commented Oct 23, 2023

I would rather focus on more critical things like the Node::* methods ;)

Sure, can you provide an issue with the regarding methods and their replacements?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants