You are here

public function EntityQueueHandlerBase::setQueue in Entityqueue 8

Sets the entity queue that is using this plugin.

Parameters

\Drupal\entityqueue\EntityQueueInterface $queue: The entity queue.

Return value

$this

Overrides EntityQueueHandlerInterface::setQueue

File

src/EntityQueueHandlerBase.php, line 87

Class

EntityQueueHandlerBase
Base class for EntityQueueHandler plugins.

Namespace

Drupal\entityqueue

Code

public function setQueue(EntityQueueInterface $queue) {
  $this->queue = $queue;
  return $this;
}