You are here

public function RegisterWebhook::__construct in Acquia Content Hub 8.2

RegisterWebhook constructor.

Parameters

\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: The logger channel factory.

File

src/EventSubscriber/HandleWebhook/RegisterWebhook.php, line 37

Class

RegisterWebhook
Responsible for handling site registration webhook responses.

Namespace

Drupal\acquia_contenthub\EventSubscriber\HandleWebhook

Code

public function __construct(LoggerChannelFactoryInterface $logger_factory) {
  $this->channel = $logger_factory
    ->get('acquia_contenthub');
}