public function PushQueue::setName in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 modules/salesforce_push/src/PushQueue.php \Drupal\salesforce_push\PushQueue::setName()
- 8.3 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_pushCode
public function setName($name) {
$this->name = $name;
return $this;
}