public function PullQueueItem::__construct in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 modules/salesforce_pull/src/PullQueueItem.php \Drupal\salesforce_pull\PullQueueItem::__construct()
- 5.0.x modules/salesforce_pull/src/PullQueueItem.php \Drupal\salesforce_pull\PullQueueItem::__construct()
Construct a pull queue item.
Parameters
\Drupal\salesforce\SObject $sobject: Salesforce data.
\Drupal\salesforce_mapping\Entity\SalesforceMappingInterface $mapping: Mapping.
bool $force_pull: Force data to be pulled, ignoring any timestamps.
File
- modules/
salesforce_pull/ src/ PullQueueItem.php, line 44
Class
- PullQueueItem
- A salesforce_pull_queue item.
Namespace
Drupal\salesforce_pullCode
public function __construct(SObject $sobject, SalesforceMappingInterface $mapping, $force_pull = FALSE) {
$this->sobject = $sobject;
$this->mappingId = $mapping->id;
$this->forcePull = $force_pull;
}