function SwitchUserForm::create
Same name in other branches
- 5.x src/Form/SwitchUserForm.php \Drupal\devel\Form\SwitchUserForm::create()
Overrides FormBase::create
File
-
src/
Form/ SwitchUserForm.php, line 38
Class
- SwitchUserForm
- Define a form to allow the user to switch and become another user.
Namespace
Drupal\devel\FormCode
public static function create(ContainerInterface $container) {
return new static($container->get('csrf_token'));
}