public function WebformInvitationGenerateForm::__construct in Webform Invitation 8
Same name and namespace in other branches
- 2.0.x src/Form/WebformInvitationGenerateForm.php \Drupal\webform_invitation\Form\WebformInvitationGenerateForm::__construct()
Constructs a new WebformInvitationGenerateForm instance.
Parameters
\Drupal\Core\Database\Connection $database: The database connection.
\Drupal\Component\Datetime\TimeInterface $time: The time service.
File
- src/
Form/ WebformInvitationGenerateForm.php, line 49
Class
- WebformInvitationGenerateForm
- Provides a form to generate invitation codes.
Namespace
Drupal\webform_invitation\FormCode
public function __construct(Connection $database, TimeInterface $time) {
$this->database = $database;
$this->time = $time;
}