You are here

public function PullQueueItem::getForcePull in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 modules/salesforce_pull/src/PullQueueItem.php \Drupal\salesforce_pull\PullQueueItem::getForcePull()
  2. 5.0.x modules/salesforce_pull/src/PullQueueItem.php \Drupal\salesforce_pull\PullQueueItem::getForcePull()

Getter.

Return value

bool Force pull.

File

modules/salesforce_pull/src/PullQueueItem.php, line 81

Class

PullQueueItem
A salesforce_pull_queue item.

Namespace

Drupal\salesforce_pull

Code

public function getForcePull() {

  // Legacy backwards compatibility.
  // @TODO remove for 8.x-3.3
  if (property_exists($this, 'force_pull')) {
    return $this->force_pull;
  }
  return $this->forcePull;
}