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

Request: hookable methods to facilitate use with non-core Fieldtypes #29

Open
Toutouwai opened this issue Jan 28, 2020 · 0 comments
Open

Comments

@Toutouwai
Copy link

It would be great if there were some hookable methods in the module that allowed for special treatment to be applied to non-core fieldtypes. I'm imagining hooks that let a developer modify the history data that is saved to the database, and modify the result of that data when it is restored to a field.

For instance, I tested with FieldtypeMapMarker and the history and diff parts seemed to work okay but the restore action failed because the saved data needs to be converted into an object of the right class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants