You are here

public function PeopleDelete::__construct in Delete all 8

Same name and namespace in other branches
  1. 2.x src/Form/PeopleDelete.php \Drupal\delete_all\Form\PeopleDelete::__construct()

File

src/Form/PeopleDelete.php, line 21

Class

PeopleDelete
Form for user deleting option.

Namespace

Drupal\delete_all\Form

Code

public function __construct(EntityTypeManager $entityTypeManager) {
  $this->roleType = $entityTypeManager
    ->getStorage('user_role');
}