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.
Hello!
i'm doing one verification in the object of salesforce that allow know if one record exist, if one record exists in SF this record is updated in SF and is created in Drupal.
But the hook that allows this no it work. I was doing a simple test, but was no succesful.
CODE:
function verify_user_salesforce_pull_entity_presave($entity, $sf_object, $sf_mapping) {
{
dpm($entity);
}
Does anyone have a solution?
Does anyone know why it is not activated?
Attached of my module for verify users existing in SF.
Thanks.
Comment | File | Size | Author |
---|---|---|---|
#2 | verify_user.zip | 2.08 KB | ejisselgb |
Comments
Comment #2
ejisselgb CreditAttribution: ejisselgb commentedComment #3
asherry CreditAttribution: asherry commentedThe salesforce_pull module that implements salesforce_pull_entity_presave is for when Salesforce objects are synced to Drupal, and it happens during cron. I'm not following what the salesforce_pull module has to do with the module code that you submitted?
What is the code you have that leads you to believe that the
salesforce_pull_entity_presave
hook isn't working?