You are here

public function DeleteAllCommands::__construct in Delete all 2.x

Same name and namespace in other branches
  1. 8 src/Commands/DeleteAllCommands.php \Drupal\delete_all\Commands\DeleteAllCommands::__construct()

File

src/Commands/DeleteAllCommands.php, line 43

Class

DeleteAllCommands
A Drush commandfile.

Namespace

Drupal\delete_all\Commands

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info) {
  $this->entityTypeManager = $entity_type_manager;
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
}