8000 Add events on setting insert, update, and delete by jimsafley · Pull Request #2291 · omeka/omeka-s · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add events on setting insert, update, and delete #2291

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

Merged
merged 3 commits into from
Apr 29, 2025

Conversation

jimsafley
Copy link
Member

Settings bypass the API and ORM during insert, update, and delete, so there is no way to detect changes. This PR adds events during these operations so handlers can detect them.

@jimsafley jimsafley requested a review from zerocrates April 12, 2025 12:29
@zerocrates
Copy link
Member

Only thing I'd change here is, move the "implements" for the EventManagerAwareInterface to the AbstractSettings class. I don't think we need to declare that all things implementing our settings interface need to be event manager aware.

@zerocrates zerocrates merged commit e3f00e4 into develop Apr 29, 2025
4 checks passed
@zerocrates zerocrates deleted the add-setting-events branch April 29, 2025 21:06
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.

2 participants
0