You are here

public function PublishOnlyRendered::__construct in Acquia Lift Connector 8.4

PublishOnlyRendered constructor.

Parameters

\Drupal\acquia_contenthub\ContentHubCommonActions $common_actions: The Content Hub common actions service.

\Drupal\Core\Config\ImmutableConfig $config: The publisher configuration object.

File

modules/acquia_lift_publisher/src/EventSubscriber/Publish/PublishOnlyRendered.php, line 41

Class

PublishOnlyRendered
Responsible for filtering contents based on publishing configurations.

Namespace

Drupal\acquia_lift_publisher\EventSubscriber\Publish

Code

public function __construct(ContentHubCommonActions $common_actions, ImmutableConfig $config) {
  $this->commonActions = $common_actions;
  $this->publisherSettings = $config;
}