You are here

public function Queue::setBackendId in Advanced Queue 8

Sets the backend plugin ID.

Parameters

string $backend_id: The backend plugin ID.

Return value

$this

Overrides QueueInterface::setBackendId

1 call to Queue::setBackendId()
Queue::set in src/Entity/Queue.php
Sets the value of a property.

File

src/Entity/Queue.php, line 150

Class

Queue
Defines the queue entity class.

Namespace

Drupal\advancedqueue\Entity

Code

public function setBackendId($backend_id) {
  $this->backend = $backend_id;
  $this->backend_configuration = [];
  $this->pluginCollection = NULL;
  return $this;
}