You are here

public function UpdateSettingsForm::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/update/src/UpdateSettingsForm.php \Drupal\update\UpdateSettingsForm::__construct()

Constructs a new UpdateSettingsForm.

Parameters

\Egulias\EmailValidator\EmailValidator $email_validator: The email validator.

Overrides ConfigFormBase::__construct

File

core/modules/update/src/UpdateSettingsForm.php, line 34
Contains \Drupal\update\UpdateSettingsForm.

Class

UpdateSettingsForm
Configure update settings for this site.

Namespace

Drupal\update

Code

public function __construct(EmailValidator $email_validator) {
  $this->emailValidator = $email_validator;
}