You are here

public function RevisionsManager::__construct in Node Revisions Autoclean 8

Constructs a new RevisionsManager object.

File

src/Services/RevisionsManager.php, line 46

Class

RevisionsManager
Class RevisionsManager.

Namespace

Drupal\node_revisions_autoclean\Services

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, QueueFactory $queueFactory, Connection $database, LanguageManagerInterface $languageManager) {
  $this->entityTypeManager = $entity_type_manager;
  $this->queueFactory = $queueFactory;
  $this->database = $database;
  $this->languageManager = $languageManager;
}