You are here

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

Implements the static interface create method.

Overrides ControllerBase::create

File

src/Controller/ContentHubEntityImportController.php, line 45

Class

ContentHubEntityImportController
Controller for Content Hub Imported Entities.

Namespace

Drupal\acquia_contenthub\Controller

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('acquia_contenthub.import_entity_manager'), $container
    ->get('config.factory'));
}