You are here

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

File

src/EntityManager.php, line 98

Class

EntityManager
Provides a service for managing entity actions for Content Hub.

Namespace

Drupal\acquia_contenthub

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('logger.factory'), $container
    ->get('config.factory'), $container
    ->get('acquia_contenthub.client_manager'), $container
    ->get('acquia_contenthub.acquia_contenthub_entities_tracking'), $container
    ->get('entity_type.manager'), $container
    ->get('entity_type.bundle.info'));
}