You are here

public function MappedObject::getChanged 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::getChanged()
  2. 8.3 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 317

Class

MappedObject
Defines a Salesforce Mapped Object entity class.

Namespace

Drupal\salesforce_mapping\Entity

Code

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