You are here

public function SalesforcePullEvent::isPullAllowed 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::isPullAllowed()
  2. 8.3 modules/salesforce_mapping/src/Event/SalesforcePullEvent.php \Drupal\salesforce_mapping\Event\SalesforcePullEvent::isPullAllowed()

Will return FALSE if any subscribers have called disallowPull().

Return value

bool TRUE if pull is allowed, false otherwise.

File

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

Class

SalesforcePullEvent
Salesforce pull event.

Namespace

Drupal\salesforce_mapping\Event

Code

public function isPullAllowed() {
  return $this->pullAllowed;
}