You are here

public function SalesforceMapping::getNextPullTime in Salesforce Suite 5.0.x

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

Get the timestamp when the next pull should be processed for this mapping.

Return value

int The next pull time.

Overrides SalesforceMappingInterface::getNextPullTime

File

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

Class

SalesforceMapping
Defines a Salesforce Mapping configuration entity class.

Namespace

Drupal\salesforce_mapping\Entity

Code

public function getNextPullTime() {
  return $this->pull_info['last_pull_timestamp'] + $this->pull_frequency;
}