public function ContentHubConnectionManager::__construct in Acquia Content Hub 8.2
ContentHubConnectionManager constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The Config Factory.
\Drupal\acquia_contenthub\Client\ClientFactory $factory: The ContentHub client factory.
\Psr\Log\LoggerInterface $logger: The logger channel.
\Acquia\ContentHubClient\Settings $settings: The settings object constructed from Content Hub settings form.
File
- src/
ContentHubConnectionManager.php, line 82
Class
- ContentHubConnectionManager
- Responsible for connection management actions.
Namespace
Drupal\acquia_contenthubCode
public function __construct(ConfigFactoryInterface $config_factory, ClientFactory $factory, LoggerInterface $logger, Settings $settings) {
$this->configFactory = $config_factory;
$this->factory = $factory;
$this->logger = $logger;
$this->settings = $settings;
}