public function AcquiaContentHubSettingsCommands::__construct in Acquia Content Hub 8.2
AcquiaContentHubSiteCommands constructor.
Parameters
\Drupal\acquia_contenthub\Client\ClientFactory $client_factory: The client factory.
\Drupal\Core\Logger\LoggerChannelInterface $logger_channel: Acquia ContentHub logger channel.
\Drupal\Core\Messenger\MessengerInterface $messenger: Drupal messenger interface.
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The configuration factory.
File
- src/
Commands/ AcquiaContentHubSettingsCommands.php, line 64
Class
- AcquiaContentHubSettingsCommands
- Drush commands for getting the Settings used for Acquia Content Hub.
Namespace
Drupal\acquia_contenthub\CommandsCode
public function __construct(ClientFactory $client_factory, LoggerChannelInterface $logger_channel, MessengerInterface $messenger, ConfigFactoryInterface $configFactory) {
$this->clientFactory = $client_factory;
$this->configFactory = $configFactory;
$this->loggerChannel = $logger_channel;
$this->messenger = $messenger;
}