You are here

public static function CommerceSmartImporerService::create in Commerce Smart Importer 8

Create.

Overrides ControllerBase::create

File

src/Plugin/CommerceSmartImporerService.php, line 105
Main Commerce Smart Importer Service.

Class

CommerceSmartImporerService
This is main Commerce Smart Importer Service.

Namespace

Drupal\commerce_smart_importer\Plugin

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('database'), $container
    ->get('token'), $container
    ->get('entity_field.manager'), $container
    ->get('config.factory'), $container
    ->get('entity_type.bundle.info'));
}