You are here

public function UserRevisionRevertForm::__construct in User Revision 8

Constructs a new UserRevisionRevertForm.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $user_storage: The user storage.

File

src/Form/UserRevisionRevertForm.php, line 37

Class

UserRevisionRevertForm
Provides a form for reverting a user revision.

Namespace

Drupal\user_revision\Form

Code

public function __construct(EntityStorageInterface $user_storage) {
  $this->userStorage = $user_storage;
}