Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Was thinking about this module today and thought it might be cool to use Rules to define when the calls are made instead of the set number of hooks (Node Save and User Save). That way you could define all the end points available, and then using Rules say when the end points would be called.
That way you could also have multiple nodes saved, and map any arguments to the node save call that you'd like.
Comments
Comment #1
mhrabovcin CreditAttribution: mhrabovcin commentedComment #2
mitchell CreditAttribution: mitchell commentedI'm not sure if "plugging" is kosher, but the approach I'm working on is a simple
drupal_http_request()
wrapper in #1703350: Action: Perform an HTTP request. If you guys are interested, I'd be happy to work with you on it.Comment #3
Nick_vhThe conditions are a little more pluggable now, there are still some changes that need to happen to make this as generic as possible. Possibly we need to set a certain condition class and in that class you have some execute method that then executes whatever necessary. So rules would just be a condition class