You are here

public function SalesforceMapping::getLastPullTime in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 modules/salesforce_mapping/src/Entity/SalesforceMapping.php \Drupal\salesforce_mapping\Entity\SalesforceMapping::getLastPullTime()
  2. 5.0.x modules/salesforce_mapping/src/Entity/SalesforceMapping.php \Drupal\salesforce_mapping\Entity\SalesforceMapping::getLastPullTime()

Return the timestamp for the date of most recent pull processing.

Return value

mixed Integer timestamp of last pull, or NULL if pull has not been run.

Overrides SalesforceMappingInterface::getLastPullTime

1 call to SalesforceMapping::getLastPullTime()
SalesforceMapping::getPullQuery in modules/salesforce_mapping/src/Entity/SalesforceMapping.php
Generate a select query to pull records from Salesforce for this mapping.

File

modules/salesforce_mapping/src/Entity/SalesforceMapping.php, line 519

Class

SalesforceMapping
Defines a Salesforce Mapping configuration entity class.

Namespace

Drupal\salesforce_mapping\Entity

Code

public function getLastPullTime() {
  return $this->pull_info['last_pull_timestamp'] ? $this->pull_info['last_pull_timestamp'] : NULL;
}