Voting starts in March for the Drupal Association Board election.
I am proposing (and currently coding a patch for) a hook in this module which fires when push_notifications_store_token is called. I think we want to offer two possibilities here:
- Allow the hook to return a value of false which would stop execution before the token is written to the database.
- Allow the hook to modify the values passed in to it. (e.g. token, type_id, uid)
Code to follow.
(As a related note, we may consider adding one which fires when a push is done. It would be nice to allow programmers to hook into both of these events.)