You are here

constant SalesforceEvents::PUSH_ALLOWED 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_ALLOWED
  2. 8.3 src/Event/SalesforceEvents.php \Drupal\salesforce\Event\SalesforceEvents::PUSH_ALLOWED

Dispatched before enqueueing or triggering a push event.

Event listeners should call $event->disallowPush() to prevent push.

Previously hook_salesforce_push_mapping_object_alter().

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

File

src/Event/SalesforceEvents.php, line 40

Class

SalesforceEvents
Defines events for Salesforce.

Namespace

Drupal\salesforce\Event

Code

const PUSH_ALLOWED = 'salesforce.push_allowed';