You are here

public function Queue::getBackend in Advanced Queue 8

Gets the backend plugin.

Return value

\Drupal\advancedqueue\Plugin\AdvancedQueue\Backend\BackendInterface The backend plugin.

Overrides QueueInterface::getBackend

File

src/Entity/Queue.php, line 136

Class

Queue
Defines the queue entity class.

Namespace

Drupal\advancedqueue\Entity

Code

public function getBackend() {
  return $this
    ->getBackendCollection()
    ->get($this->backend);
}