protected function SalesforceMapping::setPushInfo in Salesforce Suite 8.3
Same name and namespace in other branches
- 8.4 modules/salesforce_mapping/src/Entity/SalesforceMapping.php \Drupal\salesforce_mapping\Entity\SalesforceMapping::setPushInfo()
- 5.0.x modules/salesforce_mapping/src/Entity/SalesforceMapping.php \Drupal\salesforce_mapping\Entity\SalesforceMapping::setPushInfo()
Setter for pull info.
Parameters
string $key: The config id to set.
mixed $value: The value.
Return value
$this
1 call to SalesforceMapping::setPushInfo()
- SalesforceMapping::setLastPushTime in modules/
salesforce_mapping/ src/ Entity/ SalesforceMapping.php - Set the timestamp when the push queue was last process for this mapping.
File
- modules/
salesforce_mapping/ src/ Entity/ SalesforceMapping.php, line 579
Class
- SalesforceMapping
- Defines a Salesforce Mapping configuration entity class.
Namespace
Drupal\salesforce_mapping\EntityCode
protected function setPushInfo($key, $value) {
$this->push_info[$key] = $value;
$push_info = $this
->state()
->get('salesforce.mapping_push_info');
$push_info[$this
->id()] = $this->push_info;
$this
->state()
->set('salesforce.mapping_push_info', $push_info);
return $this;
}