function UserCancelForm::create
Overrides ContentEntityForm::create
File
-
core/
modules/ user/ src/ Form/ UserCancelForm.php, line 69
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), $container->get(AccountCancellation::class));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.