public static function SalesforceExampleSubscriber::getSubscribedEvents in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 modules/salesforce_example/src/EventSubscriber/SalesforceExampleSubscriber.php \Drupal\salesforce_example\EventSubscriber\SalesforceExampleSubscriber::getSubscribedEvents()
- 5.0.x modules/salesforce_example/src/EventSubscriber/SalesforceExampleSubscriber.php \Drupal\salesforce_example\EventSubscriber\SalesforceExampleSubscriber::getSubscribedEvents()
File
- modules/
salesforce_example/ src/ EventSubscriber/ SalesforceExampleSubscriber.php, line 213
Class
- SalesforceExampleSubscriber
- Class SalesforceExampleSubscriber.
Namespace
Drupal\salesforce_example\EventSubscriberCode
public static function getSubscribedEvents() {
$events = [
SalesforceEvents::PUSH_ALLOWED => 'pushAllowed',
SalesforceEvents::PUSH_PARAMS => 'pushParamsAlter',
SalesforceEvents::PUSH_SUCCESS => 'pushSuccess',
SalesforceEvents::PUSH_FAIL => 'pushFail',
SalesforceEvents::PULL_PRESAVE => 'pullPresave',
SalesforceEvents::PULL_QUERY => 'pullQueryAlter',
SalesforceEvents::PULL_PREPULL => 'pullPrepull',
];
return $events;
}