You are here

public function PushQueue::setName in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 modules/salesforce_push/src/PushQueue.php \Drupal\salesforce_push\PushQueue::setName()
  2. 5.0.x modules/salesforce_push/src/PushQueue.php \Drupal\salesforce_push\PushQueue::setName()

Set queue name property.

Parent class DatabaseQueue relies heavily on $this->name, so it's best to just set the value appropriately.

Parameters

string $name: Queue name. For us it's the Mapping id.

Return value

$this

1 call to PushQueue::setName()
PushQueue::processQueue in modules/salesforce_push/src/PushQueue.php
Given a salesforce mapping, process all its push queue entries.

File

modules/salesforce_push/src/PushQueue.php, line 208

Class

PushQueue
Salesforce push queue.

Namespace

Drupal\salesforce_push

Code

public function setName($name) {
  $this->name = $name;
  return $this;
}