You are here

public function SalesforceMapping::getNextPushTime in Salesforce Suite 8.4

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

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

Return value

int The next push time.

Overrides SalesforceMappingInterface::getNextPushTime

File

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

Class

SalesforceMapping
Defines a Salesforce Mapping configuration entity class.

Namespace

Drupal\salesforce_mapping\Entity

Code

public function getNextPushTime() {
  return $this->push_info['last_timestamp'] + $this->push_frequency;
}