joomla-cms
joomla-cms copied to clipboard
[5.2][Events] Use event classes for Extension plugins
User description
Summary of Changes
Update extension
and installer
plugins to use SubscriberInterface
event classes.
Testing Instructions
Test that extension installation works as before. Joomla update also works as before.
Actual result BEFORE applying this Pull Request
Works
Expected result AFTER applying this Pull Request
Works
Link to documentations
Please select:
- [ ] Documentation link for docs.joomla.org:
- [ ] No documentation changes for docs.joomla.org needed
- [x] Pull Request link for manual.joomla.org: https://github.com/joomla/Manual/pull/177
- [ ] No documentation changes for manual.joomla.org needed
PR Type
Enhancement
Description
- Updated
extension
andinstaller
plugins to useSubscriberInterface
event classes. - Introduced
AbstractJoomlaUpdateEvent
class and its concrete implementationsBeforeJoomlaUpdateEvent
andAfterJoomlaUpdateEvent
. - Modified Joomla update process to dispatch new event classes.
- Implemented
SubscriberInterface
for various extension plugins and updated their methods to use event classes.
Changes walkthrough 📝
Relevant files | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Enhancement | 9 files
|
💡 PR-Agent usage: Comment
/help
on the PR to get a list of all available PR-Agent tools and their descriptions