constant SalesforceEvents::PULL_PREPULL in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 src/Event/SalesforceEvents.php \Drupal\salesforce\Event\SalesforceEvents::PULL_PREPULL
- 5.0.x src/Event/SalesforceEvents.php \Drupal\salesforce\Event\SalesforceEvents::PULL_PREPULL
Dispatched before mapping entity fields for a pull.
Can be used, for example, to alter SF object retrieved from Salesforce or to assign a different Drupal entity.
Previously hook_salesforce_pull_mapping_object_alter().
Subscribers receive a Drupal\salesforce_mapping\Event\SalesforcePullEvent instance. Listeners should throw an exception to prevent an item from being pulled, per Drupal\Core\Queue\QueueWorkerInterface.
See also
\Drupal\Core\Queue\QueueWorkerInterface
File
- src/
Event/ SalesforceEvents.php, line 135
Class
- SalesforceEvents
- Defines events for Salesforce.
Namespace
Drupal\salesforce\EventCode
const PULL_PREPULL = 'salesforce.pull_prepull';