function ConfigSync::create

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

Overrides FormBase::create

File

core/modules/config/src/Form/ConfigSync.php, line 188

Class

ConfigSync
Construct the storage changes in a configuration synchronization form.

Namespace

Drupal\config\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('config.storage.sync'), $container->get('config.storage'), $container->get('config.storage.snapshot'), $container->get('lock.persistent'), $container->get('event_dispatcher'), $container->get('config.manager'), $container->get('config.typed'), $container->get('module_handler'), $container->get('module_installer'), $container->get('theme_handler'), $container->get('renderer'), $container->get('extension.list.module'), $container->get('config.import_transformer'), $container->get('extension.list.theme'));
}

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