public static function ContentSyncCommands::create in Content Synchronization 3.0.x
Same name and namespace in other branches
- 8.2 src/Commands/ContentSyncCommands.php \Drupal\content_sync\Commands\ContentSyncCommands::create()
File
- src/
Commands/ ContentSyncCommands.php, line 176
Class
- ContentSyncCommands
- A Drush commandfile.
Namespace
Drupal\content_sync\CommandsCode
public static function create(ContainerInterface $container) {
return new static($container
->get('config.manager'), $container
->get('content.storage'), $container
->get('content.storage.sync'), $container
->get('content_sync.manager'));
}