public function SalesforcePushAllowedEvent::disallowPush in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 modules/salesforce_mapping/src/Event/SalesforcePushAllowedEvent.php \Drupal\salesforce_mapping\Event\SalesforcePushAllowedEvent::disallowPush()
- 5.0.x modules/salesforce_mapping/src/Event/SalesforcePushAllowedEvent.php \Drupal\salesforce_mapping\Event\SalesforcePushAllowedEvent::disallowPush()
Stop Salesforce record from being pushed.
Return value
$this
File
- modules/
salesforce_mapping/ src/ Event/ SalesforcePushAllowedEvent.php, line 55
Class
- SalesforcePushAllowedEvent
- Push allowed event.
Namespace
Drupal\salesforce_mapping\EventCode
public function disallowPush() {
$this->pushAllowed = FALSE;
return $this;
}