You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I can't find anything about it in Plugin class. Maybe we could add an update() method which will be called when plugin just updated from remote or local?
Or maybe another solution exists?
The text was updated successfully, but these errors were encountered:
Such a solution exists but it might be not documented on the website. You can generate an update via ./console generate:update. It will ask for your plugin name and then generate a file under plugins/YourPlugin/Updates/yourVersionNumber.php.
There are some explanations in the generated file but also see eg those examples:
Hi!
I can't find anything about it in Plugin class. Maybe we could add an update() method which will be called when plugin just updated from remote or local?
Or maybe another solution exists?
The text was updated successfully, but these errors were encountered: