You are here

public function SalesforceMapping::setLastPullTime 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::setLastPullTime()
  2. 5.0.x modules/salesforce_mapping/src/Entity/SalesforceMapping.php \Drupal\salesforce_mapping\Entity\SalesforceMapping::setLastPullTime()

Set this mapping as having been last pulled at $time.

Parameters

int $time: The pull time to set.

Return value

$this

Overrides SalesforceMappingInterface::setLastPullTime

File

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

Class

SalesforceMapping
Defines a Salesforce Mapping configuration entity class.

Namespace

Drupal\salesforce_mapping\Entity

Code

public function setLastPullTime($time) {
  return $this
    ->setPullInfo('last_pull_timestamp', $time);
}