You are here

public function MappedObject::sfid in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 modules/salesforce_mapping/src/Entity/MappedObject.php \Drupal\salesforce_mapping\Entity\MappedObject::sfid()
  2. 8.3 modules/salesforce_mapping/src/Entity/MappedObject.php \Drupal\salesforce_mapping\Entity\MappedObject::sfid()

Getter for salesforce_id.

Return value

string SFID.

Overrides MappedObjectInterface::sfid

3 calls to MappedObject::sfid()
MappedObject::pull in modules/salesforce_mapping/src/Entity/MappedObject.php
Pull the mapped SF object data from Salesforce.
MappedObject::push in modules/salesforce_mapping/src/Entity/MappedObject.php
Push data to Salesforce.
MappedObject::pushDelete in modules/salesforce_mapping/src/Entity/MappedObject.php
Delete the mapped SF object in Salesforce.

File

modules/salesforce_mapping/src/Entity/MappedObject.php, line 381

Class

MappedObject
Defines a Salesforce Mapped Object entity class.

Namespace

Drupal\salesforce_mapping\Entity

Code

public function sfid() {
  return $this->salesforce_id->value;
}