Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DatabaseQueue.php

function DatabaseQueue::__construct

Constructs a \Drupal\Core\Queue\DatabaseQueue object.

Parameters

string $name: The name of the queue.

\Drupal\Core\Database\Connection $connection: The Connection object containing the key-value tables.

File

core/lib/Drupal/Core/Queue/DatabaseQueue.php, line 45

Class

DatabaseQueue
Default queue implementation.

Namespace

Drupal\Core\Queue

Code

public function __construct($name, Connection $connection) {
    $this->name = $name;
    $this->connection = $connection;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal