Skip to content

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

@Jimmi08

Description

@Jimmi08

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementAn improvement or new feature request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions