You are here

public function MappedObject::getMapping 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::getMapping()
  2. 5.0.x modules/salesforce_mapping/src/Entity/MappedObject.php \Drupal\salesforce_mapping\Entity\MappedObject::getMapping()

Get the attached mapping entity.

Return value

SalesforceMappingInterface The mapping entity.

Overrides MappedObjectInterface::getMapping

3 calls to MappedObject::getMapping()
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 324

Class

MappedObject
Defines a Salesforce Mapped Object entity class.

Namespace

Drupal\salesforce_mapping\Entity

Code

public function getMapping() {
  return $this->salesforce_mapping->entity;
}