You are here

public static function ImportEntityManager::create in Acquia Content Hub 8

Implements the static interface create method.

File

src/ImportEntityManager.php, line 113

Class

ImportEntityManager
Provides a service for managing imported entities' actions.

Namespace

Drupal\acquia_contenthub

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('database'), $container
    ->get('logger.factory'), $container
    ->get('serializer'), $container
    ->get('entity.repository'), $container
    ->get('acquia_contenthub.client_manager'), $container
    ->get('acquia_contenthub.acquia_contenthub_entities_tracking'), $container
    ->get('diff.entity_comparison'), $container
    ->get('acquia_contenthub.entity_manager'), $container
    ->get('string_translation'), $container
    ->get('queue'), $container
    ->get('language_manager'));
}