function StatisticsSettingsForm::create

Same name in other branches
  1. 8.9.x core/modules/statistics/src/StatisticsSettingsForm.php \Drupal\statistics\StatisticsSettingsForm::create()
  2. 10 core/modules/statistics/src/StatisticsSettingsForm.php \Drupal\statistics\StatisticsSettingsForm::create()
  3. 11.x core/modules/statistics/src/StatisticsSettingsForm.php \Drupal\statistics\StatisticsSettingsForm::create()

Overrides ConfigFormBase::create

File

core/modules/statistics/src/StatisticsSettingsForm.php, line 42

Class

StatisticsSettingsForm
Configure statistics settings for this site.

Namespace

Drupal\statistics

Code

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

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