You are here

public function UpdateSettingsForm::__construct in Drupal 10

Constructs an UpdateSettingsForm object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\Component\Utility\EmailValidatorInterface $email_validator: The email validator.

Overrides ConfigFormBase::__construct

File

core/modules/update/src/UpdateSettingsForm.php, line 35

Class

UpdateSettingsForm
Configure update settings for this site.

Namespace

Drupal\update

Code

public function __construct(ConfigFactoryInterface $config_factory, EmailValidatorInterface $email_validator) {
  parent::__construct($config_factory);
  $this->emailValidator = $email_validator;
}