You are here

public function MappedObject::getMappedEntity in Salesforce Suite 8.4

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

Get the mapped Drupal entity.

Return value

\Drupal\Core\Entity\EntityInterface The mapped Drupal entity.

Overrides MappedObjectInterface::getMappedEntity

2 calls to MappedObject::getMappedEntity()
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.

File

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

Class

MappedObject
Defines a Salesforce Mapped Object entity class.

Namespace

Drupal\salesforce_mapping\Entity

Code

public function getMappedEntity() {
  return $this->drupal_entity->entity;
}