You are here

final public function QueueEmptyForm::__construct in Purge 8.3

Construct a QueueClearForm object.

Parameters

\Drupal\purge\Plugin\Purge\Queue\QueueServiceInterface $purge_queue: The purge queue service.

File

modules/purge_ui/src/Form/QueueEmptyForm.php, line 31

Class

QueueEmptyForm
Empty the queue.

Namespace

Drupal\purge_ui\Form

Code

public final function __construct(QueueServiceInterface $purge_queue) {
  $this->purgeQueue = $purge_queue;
}