function ConfigSync::create

Overrides FormBase::create

File

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

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('renderer'), $container->get('config.import_transformer'), $container->get(ConfigImporterFactory::class));
}

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