public function SalesforcePushAllowedEvent::isPushAllowed in Salesforce Suite 8.3
Same name and namespace in other branches
- 8.4 modules/salesforce_mapping/src/Event/SalesforcePushAllowedEvent.php \Drupal\salesforce_mapping\Event\SalesforcePushAllowedEvent::isPushAllowed()
- 5.0.x modules/salesforce_mapping/src/Event/SalesforcePushAllowedEvent.php \Drupal\salesforce_mapping\Event\SalesforcePushAllowedEvent::isPushAllowed()
Returns FALSE if push is disallowed.
Note: a subscriber cannot "force" a push when any other subscriber has disallowed it.
Return value
false|null Returns FALSE if PUSH_ALLOWED event has been fired, and any subscriber wants to prevent push. Otherwise, returns NULL.
File
- modules/
salesforce_mapping/ src/ Event/ SalesforcePushAllowedEvent.php, line 46
Class
- SalesforcePushAllowedEvent
- Push allowed event.
Namespace
Drupal\salesforce_mapping\EventCode
public function isPushAllowed() {
return $this->pushAllowed === FALSE ? FALSE : NULL;
}