public function NodeRevisionsAutocleanCommands::__construct in Node Revisions Autoclean 8
NodeRevisionsAutocleanCommands constructor.
Parameters
Drupal\Core\Entity\EntityTypeManager $entityTypeManager: EntityTypeManager.
Drupal\node_revisions_autoclean\Services\RevisionsManager $revisionsManager: RevisionsManager.
File
- src/
Commands/ NodeRevisionsAutocleanCommands.php, line 43
Class
- NodeRevisionsAutocleanCommands
- Class NodeRevisionsAutocleanCommands.
Namespace
Drupal\node_revisions_autoclean\CommandsCode
public function __construct(EntityTypeManagerInterface $entityTypeManager, RevisionsManager $revisionsManager) {
parent::__construct();
$this->entityTypeManager = $entityTypeManager;
$this->revisionsManager = $revisionsManager;
}