Repository navigation
docs: clarify register() and boot() usage in Plugin registration file (#228) - #237
Merged
LukeTowers merged 7 commits intoJun 2, 2025
Merged
Conversation
Member
|
@EmiFunes91 thanks for your interest in contributing to the Winter CMS documentation. Please review the errors reported by the linter. |
EmiFunes91
force-pushed
the
fix/explain-register-boot
branch
from
May 15, 2025 02:57
01cd35d to
4b53a73
Compare
Contributor
Author
|
Thanks, @LukeTowers. |
LukeTowers
reviewed
May 15, 2025
Contributor
Author
|
Hi Luke, just following up to see if this could be reviewed when possible. The goal here was to clarify the plugin lifecycle methods with a more structured explanation and practical examples, aligned with the scope of Issue #228. I'm happy to make any adjustments if needed to better fit the style or direction of the docs. Thanks again for your time and for the great work you do maintaining WinterCMS. |
LukeTowers
reviewed
May 29, 2025
LukeTowers
reviewed
Jun 2, 2025
LukeTowers
approved these changes
Jun 2, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request addresses issue #228 by improving the clarity and structure of the
register()andboot()method documentation in the Plugin registration guide.Summary of changes:
$elevated = truein special contexts.Purpose:
The goal of this update is to offer a clearer understanding of two core lifecycle methods for plugin developers—especially those new to Winter CMS. These clarifications aim to reduce misimplementation and make the documentation more actionable.
Let me know if anything should be revised further. I’m glad to support this project.