You are here

constant SalesforceEvents::PUSH_MAPPING_OBJECT in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Event/SalesforceEvents.php \Drupal\salesforce\Event\SalesforceEvents::PUSH_MAPPING_OBJECT
  2. 8.3 src/Event/SalesforceEvents.php \Drupal\salesforce\Event\SalesforceEvents::PUSH_MAPPING_OBJECT

Dispatched immediately before processing a push event.

Useful for injecting business logic into a MappedObject record, e.g. to change the SFID before pushing to Salesforce.

Previously hook_salesforce_push_mapping_object_alter().

The event listener method receives a \Drupal\salesforce_mapping\Event\SalesforcePushOpEvent instance.

File

src/Event/SalesforceEvents.php, line 57

Class

SalesforceEvents
Defines events for Salesforce.

Namespace

Drupal\salesforce\Event

Code

const PUSH_MAPPING_OBJECT = 'salesforce.push_mapping_object';