You are here

public function MappedObject::getChanged in Salesforce Suite 8.3

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

Return a numeric timestamp for comparing to Salesforce record timestamp.

Return value

int The entity_updated value from the Mapped Object.

Overrides MappedObjectInterface::getChanged

File

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

Class

MappedObject
Defines a Salesforce Mapped Object entity class.

Namespace

Drupal\salesforce_mapping\Entity

Code

public function getChanged() {
  return $this
    ->get('entity_updated')->value;
}