You are here

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

Same name and namespace in other branches
  1. 8 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');
}