You are here

public function WebformInvitationCodesForm::__construct in Webform Invitation 8

Same name and namespace in other branches
  1. 2.0.x src/Form/WebformInvitationCodesForm.php \Drupal\webform_invitation\Form\WebformInvitationCodesForm::__construct()

Constructs a new WebformInvitationCodesForm instance.

Parameters

\Drupal\Core\Database\Connection $database: The database connection.

File

src/Form/WebformInvitationCodesForm.php, line 37

Class

WebformInvitationCodesForm
Provides list of all invitation codes for the current webform.

Namespace

Drupal\webform_invitation\Form

Code

public function __construct(Connection $database) {
  $this->database = $database;
}