You are here

public function CreateGdprRequestOnBehalfOfUserForm::__construct in General Data Protection Regulation 8

Same name and namespace in other branches
  1. 8.2 modules/gdpr_tasks/src/Form/CreateGdprRequestOnBehalfOfUserForm.php \Drupal\gdpr_tasks\Form\CreateGdprRequestOnBehalfOfUserForm::__construct()
  2. 3.0.x modules/gdpr_tasks/src/Form/CreateGdprRequestOnBehalfOfUserForm.php \Drupal\gdpr_tasks\Form\CreateGdprRequestOnBehalfOfUserForm::__construct()

Constructs a new CreateGdprRequestOnBehalfOfUserForm.

Parameters

\Drupal\Core\Queue\QueueFactory $queue: Queue factory.

File

modules/gdpr_tasks/src/Form/CreateGdprRequestOnBehalfOfUserForm.php, line 38

Class

CreateGdprRequestOnBehalfOfUserForm
Form for user task requests.

Namespace

Drupal\gdpr_tasks\Form

Code

public function __construct(QueueFactory $queue) {
  $this->queue = $queue
    ->get('gdpr_tasks_process_gdpr_sar');
}