You are here

public function EntityUsageCommands::__construct in Entity Usage 8.2

File

src/Commands/EntityUsageCommands.php, line 39

Class

EntityUsageCommands
Entity Usage drush commands.

Namespace

Drupal\entity_usage\Commands

Code

public function __construct(EntityUsageBatchManager $batch_manager, EntityTypeManagerInterface $entity_type_manager, ConfigFactoryInterface $config_factory) {
  parent::__construct();
  $this->batchManager = $batch_manager;
  $this->entityTypeManager = $entity_type_manager;
  $this->entityUsageConfig = $config_factory
    ->get('entity_usage.settings');
}