final public function DatabaseQueue::__construct in Purge 8.3
Construct a DatabaseQueue object.
Parameters
\Drupal\Core\Database\Connection $connection: The Connection object containing the key-value tables.
Overrides DatabaseQueue::__construct
File
- src/
Plugin/ Purge/ Queue/ DatabaseQueue.php, line 39
Class
- DatabaseQueue
- A QueueInterface compliant database backed queue.
Namespace
Drupal\purge\Plugin\Purge\QueueCode
public final function __construct(Connection $connection) {
parent::__construct('purge', $connection);
$this
->ensureTableExists();
}