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

Added addon on_settings_changed hook #112

Merged
merged 4 commits into from
Mar 25, 2024

Conversation

martastain
Copy link
Member

Adds a "on_settings_changed" hook to BaseServerAddon class, which is triggered, when the settings of the addon are changed. This is useful for addons that need to react to settings changes.

on_settings_changed method, accepts old_settings and new_settings arguments, as well as optional variant, project_name, site_id and user_name when applicable.

@martastain martastain merged commit af9130c into develop Mar 25, 2024
@martastain martastain deleted the enhancement/on_settings_changed_hook branch March 25, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant