function UserCancelForm::create
Same name and namespace in other branches
- main core/modules/user/src/Form/UserCancelForm.php \Drupal\user\Form\UserCancelForm::create()
Overrides ContentEntityForm::create
File
-
core/
modules/ user/ src/ Form/ UserCancelForm.php, line 62
Class
- UserCancelForm
- Provides a confirmation form for cancelling user account.
Namespace
Drupal\user\FormCode
public static function create(ContainerInterface $container) : static {
return new static($container->get(EntityRepositoryInterface::class), $container->get(EntityTypeBundleInfoInterface::class), $container->get(TimeInterface::class), $container->get(NotificationHandler::class));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.