protected function SalesforceMapping::setPullInfo 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::setPullInfo()
- 5.0.x modules/salesforce_mapping/src/Entity/SalesforceMapping.php \Drupal\salesforce_mapping\Entity\SalesforceMapping::setPullInfo()
Setter for pull info.
Parameters
string $key: The config id to set.
mixed $value: The value.
Return value
$this
2 calls to SalesforceMapping::setPullInfo()
- SalesforceMapping::setLastDeleteTime in modules/
salesforce_mapping/ src/ Entity/ SalesforceMapping.php - Set this mapping as having been last processed for deletes at $time.
- SalesforceMapping::setLastPullTime in modules/
salesforce_mapping/ src/ Entity/ SalesforceMapping.php - Set this mapping as having been last pulled at $time.
File
- modules/
salesforce_mapping/ src/ Entity/ SalesforceMapping.php, line 540
Class
- SalesforceMapping
- Defines a Salesforce Mapping configuration entity class.
Namespace
Drupal\salesforce_mapping\EntityCode
protected function setPullInfo($key, $value) {
$this->pull_info[$key] = $value;
$pull_info = $this
->state()
->get('salesforce.mapping_pull_info');
$pull_info[$this
->id()] = $this->pull_info;
$this
->state()
->set('salesforce.mapping_pull_info', $pull_info);
return $this;
}