You are here

public function PullQueueItem::getMappingId in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 modules/salesforce_pull/src/PullQueueItem.php \Drupal\salesforce_pull\PullQueueItem::getMappingId()
  2. 5.0.x modules/salesforce_pull/src/PullQueueItem.php \Drupal\salesforce_pull\PullQueueItem::getMappingId()

Getter.

Return value

string Salesforce mapping id.

File

modules/salesforce_pull/src/PullQueueItem.php, line 66

Class

PullQueueItem
A salesforce_pull_queue item.

Namespace

Drupal\salesforce_pull

Code

public function getMappingId() {

  // Legacy backwards compatibility.
  // @TODO remove for 8.x-3.3
  if (property_exists($this, 'mapping_id')) {
    return $this->mapping_id;
  }
  return $this->mappingId;
}