You are here

public function SalesforcePullEvent::disallowPull in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 modules/salesforce_mapping/src/Event/SalesforcePullEvent.php \Drupal\salesforce_mapping\Event\SalesforcePullEvent::disallowPull()
  2. 8.3 modules/salesforce_mapping/src/Event/SalesforcePullEvent.php \Drupal\salesforce_mapping\Event\SalesforcePullEvent::disallowPull()

Disallow and stop pull for the current queue item.

File

modules/salesforce_mapping/src/Event/SalesforcePullEvent.php, line 117

Class

SalesforcePullEvent
Salesforce pull event.

Namespace

Drupal\salesforce_mapping\Event

Code

public function disallowPull() {
  $this->pullAllowed = FALSE;
  return $this;
}