Is your feature request related to a problem? Please describe.
In the Drupal 7.x module that this one was derived from, all of the triggers (create, update, delete for both directions) are defined with bit flags.
Describe the solution you'd like
I think in the interest of cleaner code, as well as being able to use the strict checker on arrays to make the WordPress code formatting standards happy, we should consider replacing this with something else.
See #373 for why this is worth thinking seriously about. But I do think it's wise to save it for v2.0.0, in case there's backward compatibility that it might break.
Is your feature request related to a problem? Please describe. In the Drupal 7.x module that this one was derived from, all of the triggers (create, update, delete for both directions) are defined with bit flags.
We kept this convention in these lines:
Describe the solution you'd like I think in the interest of cleaner code, as well as being able to use the strict checker on arrays to make the WordPress code formatting standards happy, we should consider replacing this with something else.