You are here

public function PreviewEntity::__construct in Acquia Content Hub 8.2

Same name in this branch
  1. 8.2 modules/acquia_contenthub_preview/src/Controller/PreviewEntity.php \Drupal\acquia_contenthub_preview\Controller\PreviewEntity::__construct()
  2. 8.2 modules/acquia_contenthub_preview/src/EventSubscriber/HandleWebhook/PreviewEntity.php \Drupal\acquia_contenthub_preview\EventSubscriber\HandleWebhook\PreviewEntity::__construct()

PreviewEntity constructor.

Parameters

\Drupal\acquia_contenthub\ContentHubCommonActions $common: The common actions object.

File

modules/acquia_contenthub_preview/src/EventSubscriber/HandleWebhook/PreviewEntity.php, line 41

Class

PreviewEntity
Previews entities across content as a service sites.

Namespace

Drupal\acquia_contenthub_preview\EventSubscriber\HandleWebhook

Code

public function __construct(ContentHubCommonActions $common) {
  $this->common = $common;
}