12 calls to FormBase::currentUser() in Drupal 8
- AccountForm::form in core/
modules/ user/ src/ AccountForm.php - Gets the actual form array to be built.
- BookOutlineForm::form in core/
modules/ book/ src/ Form/ BookOutlineForm.php - Gets the actual form array to be built.
- ContentEntityForm::validateForm in core/
lib/ Drupal/ Core/ Entity/ ContentEntityForm.php - Button-level validation handlers are highly discouraged for entity forms, as they will prevent entity validation from running. If the entity is going to be saved during the form submission, this method should be manually invoked from the button-level…
- EntityModerationForm::buildForm in core/
modules/ content_moderation/ src/ Form/ EntityModerationForm.php - Form constructor.
- MessageForm::form in core/
modules/ contact/ src/ MessageForm.php - Gets the actual form array to be built.
- MessageForm::save in core/
modules/ contact/ src/ MessageForm.php - Form submission handler for the 'save' action.
- RegisterForm::form in core/
modules/ user/ src/ RegisterForm.php - Gets the actual form array to be built.
- SwitchShortcutSet::buildForm in core/
modules/ shortcut/ src/ Form/ SwitchShortcutSet.php - Form constructor.
- SwitchShortcutSet::submitForm in core/
modules/ shortcut/ src/ Form/ SwitchShortcutSet.php - Form submission handler.
- UserCancelForm::buildForm in core/
modules/ user/ src/ Form/ UserCancelForm.php - Form constructor.
- UserMultipleCancelConfirm::buildForm in core/
modules/ user/ src/ Form/ UserMultipleCancelConfirm.php - Form constructor.
- UserPasswordForm::buildForm in core/
modules/ user/ src/ Form/ UserPasswordForm.php - Form constructor.