function UpdateSettingsForm::create

Same name in other branches
  1. 8.9.x core/modules/update/src/UpdateSettingsForm.php \Drupal\update\UpdateSettingsForm::create()

Overrides ConfigFormBase::create

File

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

Class

UpdateSettingsForm
Configure update settings for this site.

Namespace

Drupal\update

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('config.factory'), $container->get('email.validator'));
}

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