UserMultipleCancelConfirm::submitForm

public UserMultipleCancelConfirm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/user/src/Form/UserMultipleCancelConfirm.php, line 167 Class UserMultipleCancelConfirm Provides a confirmation form for cancelling multiple user accounts.

UserMultipleCancelConfirm::getCancelUrl

public UserMultipleCancelConfirm::getCancelUrl() Returns the route to go to if the user cancels the action. Return value \Drupal\Core\Url A URL object. Overrides ConfirmFormInterface::getCancelUrl File core/modules/user/src/Form/UserMultipleCancelConfirm.php, line 83 Class UserMultipleCancelConfirm Provides a confirmation form for cancelling multiple user accounts. Namespace Drupal\user\Form Code public function getCancelUrl() { return new Url('entity.user.collection'); }

UserMultipleCancelConfirm::getConfirmText

public UserMultipleCancelConfirm::getConfirmText() Returns a caption for the button that confirms the action. Return value string The form confirmation text. Overrides ConfirmFormBase::getConfirmText File core/modules/user/src/Form/UserMultipleCancelConfirm.php, line 90 Class UserMultipleCancelConfirm Provides a confirmation form for cancelling multiple user accounts. Namespace Drupal\user\Form Code public function getConfirmText() { return $this->t('Cancel accounts'); }

UserMultipleCancelConfirm::buildForm

public UserMultipleCancelConfirm::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides ConfirmFormBase::buildForm File core/modules/user/src/Form/UserMultipleCancelConfirm.php, line 97 Class UserMultipleCancelConfirm Provides a confirmation form for cancellin

UserMultipleCancelConfirm::create

public static UserMultipleCancelConfirm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: Th

UserMultipleCancelConfirm::getFormId

public UserMultipleCancelConfirm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/user/src/Form/UserMultipleCancelConfirm.php, line 69 Class UserMultipleCancelConfirm Provides a confirmation form for cancelling multiple user accounts. Namespace Drupal\user\Form Code public function getFormId() { return 'user_multiple_cancel_confirm'; }

UserMultipleCancelConfirm

Provides a confirmation form for cancelling multiple user accounts. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\user\Form\UserMultipleCancelConfirm File core/modules/user/src/Form/UserMultipleCancelConfirm.php, lin

UserMultipleCancelConfirm::$entityManager

The entity manager. Type: \Drupal\Core\Entity\EntityManagerInterface File core/modules/user/src/Form/UserMultipleCancelConfirm.php, line 37 Class UserMultipleCancelConfirm Provides a confirmation form for cancelling multiple user accounts. Namespace Drupal\user\Form Code protected $entityManager;

UserMultipleCancelConfirm::$tempStoreFactory

The temp store factory. Type: \Drupal\user\PrivateTempStoreFactory File core/modules/user/src/Form/UserMultipleCancelConfirm.php, line 23 Class UserMultipleCancelConfirm Provides a confirmation form for cancelling multiple user accounts. Namespace Drupal\user\Form Code protected $tempStoreFactory;

UserMultipleCancelConfirm::$userStorage

The user storage. Type: \Drupal\user\UserStorageInterface File core/modules/user/src/Form/UserMultipleCancelConfirm.php, line 30 Class UserMultipleCancelConfirm Provides a confirmation form for cancelling multiple user accounts. Namespace Drupal\user\Form Code protected $userStorage;