function ConfigImportForm::create

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

Overrides FormBase::create

File

core/modules/config/src/Form/ConfigImportForm.php, line 60

Class

ConfigImportForm
Defines the configuration import form.

Namespace

Drupal\config\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('config.storage.sync'), $container->get('file_system'), $container->get('settings'));
}

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