public function AcquiaContentHubEnqueueEntitiesCommands::__construct in Acquia Content Hub 8.2
AcquiaContentHubEnqueueEntitiesByBundleCommands constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle info.
\Drupal\Core\Database\Connection $database: The Connection to the Database.
\Drupal\acquia_contenthub_publisher\PublisherTracker $publisher_tracker: The Publisher Tracker.
\Drupal\depcalc\Cache\DepcalcCacheBackend $depcalc_cache: The Depcalc Cache Backend.
File
- modules/
acquia_contenthub_publisher/ src/ Commands/ AcquiaContentHubEnqueueEntitiesCommands.php, line 69
Class
- AcquiaContentHubEnqueueEntitiesCommands
- Drush commands for Acquia Content Hub enqueue entities.
Namespace
Drupal\acquia_contenthub_publisher\CommandsCode
public function __construct(EntityTypeManagerInterface $entityTypeManager, EntityTypeBundleInfoInterface $entity_type_bundle_info, Connection $database, PublisherTracker $publisher_tracker, DepcalcCacheBackend $depcalc_cache) {
$this->entityTypeManager = $entityTypeManager;
$this->entityTypeBundleInfo = $entity_type_bundle_info;
$this->database = $database;
$this->publisherTracker = $publisher_tracker;
$this->depcalcCache = $depcalc_cache;
}