function UpdateSettingsForm::__construct

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.