function UserMultipleCancelConfirm::create

Same name in other branches
  1. 9 core/modules/user/src/Form/UserMultipleCancelConfirm.php \Drupal\user\Form\UserMultipleCancelConfirm::create()
  2. 10 core/modules/user/src/Form/UserMultipleCancelConfirm.php \Drupal\user\Form\UserMultipleCancelConfirm::create()
  3. 11.x core/modules/user/src/Form/UserMultipleCancelConfirm.php \Drupal\user\Form\UserMultipleCancelConfirm::create()

Overrides FormBase::create

File

core/modules/user/src/Form/UserMultipleCancelConfirm.php, line 68

Class

UserMultipleCancelConfirm
Provides a confirmation form for cancelling multiple user accounts.

Namespace

Drupal\user\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('tempstore.private'), $container->get('entity_type.manager')
        ->getStorage('user'), $container->get('entity_type.manager'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.