public function ContentHubEntityImportController::__construct in Acquia Content Hub 8
Public Constructor.
Parameters
\Drupal\acquia_contenthub\ImportEntityManager $import_entity_manager: The Content Hub Import Entity Manager.
\Drupal\Core\Config\ConfigFactory $config_factory: The Config Factory.
File
- src/
Controller/ ContentHubEntityImportController.php, line 37
Class
- ContentHubEntityImportController
- Controller for Content Hub Imported Entities.
Namespace
Drupal\acquia_contenthub\ControllerCode
public function __construct(ImportEntityManager $import_entity_manager, ConfigFactory $config_factory) {
$this->importEntityManager = $import_entity_manager;
$this->config = $config_factory
->getEditable('acquia_contenthub.entity_config');
}