You are here

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

Set the timestamp when the push queue was last process for this mapping.

Parameters

string $time: The push time to set.

Return value

$this

Overrides SalesforceMappingInterface::setLastPushTime

File

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

Class

SalesforceMapping
Defines a Salesforce Mapping configuration entity class.

Namespace

Drupal\salesforce_mapping\Entity

Code

public function setLastPushTime($time) {
  return $this
    ->setPushInfo('last_timestamp', $time);
}