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

Q - how to do some action after saving prefs in admin UI #3799

Closed
Jimmi08 opened this issue May 10, 2019 · 0 comments
Closed

Q - how to do some action after saving prefs in admin UI #3799

Jimmi08 opened this issue May 10, 2019 · 0 comments
Labels
type: enhancement An improvement or new feature request
Milestone

Comments

@Jimmi08
Copy link
Contributor

Jimmi08 commented May 10, 2019

After saving custom plugin pref I need to do some action (change some data in another table).

There is only method beforePrefsSave() but not after like with it's with a normal table.

The only way I found was full copy PrefsSaveTrigger() and add my code after
$this->getConfig()->save(true);

@CaMer0n CaMer0n added the type: enhancement An improvement or new feature request label May 13, 2019
@CaMer0n CaMer0n added this to the e107 2.2.0 milestone May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement An improvement or new feature request
Projects
None yet
Development

No branches or pull requests

2 participants