You are here

public function PublisherActions::__construct in Acquia Content Hub 8.2

PublisherActions constructor.

Parameters

\Drupal\acquia_contenthub_publisher\PublisherTracker $publisher_tracker: The Publisher Tracker.

\Drupal\acquia_contenthub\ContentHubCommonActions $common_actions: The Content Hub Common Actions Service.

\Drupal\depcalc\Cache\DepcalcCacheBackend $depcalc_cache: The Depcalc Cache Backend.

File

modules/acquia_contenthub_publisher/src/PublisherActions.php, line 48

Class

PublisherActions
Provides basic publisher actions like re-export functionality.

Namespace

Drupal\acquia_contenthub_publisher

Code

public function __construct(PublisherTracker $publisher_tracker, ContentHubCommonActions $common_actions, DepcalcCacheBackend $depcalc_cache) {
  $this->publisherTracker = $publisher_tracker;
  $this->commonActions = $common_actions;
  $this->backend = $depcalc_cache;
}