21 calls to FormBase::currentUser() in Drupal 10
- 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.
- CommentAdminOverview::submitForm in core/
modules/ comment/ src/ Form/ CommentAdminOverview.php - Form submission handler.
- ContentEntityForm::buildEntity in core/
lib/ Drupal/ Core/ Entity/ ContentEntityForm.php - Builds an updated entity object based upon the submitted form values.
- 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.
- EntityModerationForm::submitForm in core/
modules/ content_moderation/ src/ Form/ EntityModerationForm.php - Form submission handler.
- MediaForm::save in core/
modules/ media/ src/ MediaForm.php - Form submission handler for the 'save' action.
- 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.
- MessageForm::validateForm in core/
modules/ contact/ src/ MessageForm.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…
- ModulesUninstallConfirmForm::buildForm in core/
modules/ system/ src/ Form/ ModulesUninstallConfirmForm.php - Form constructor.
- ModulesUninstallConfirmForm::submitForm in core/
modules/ system/ src/ Form/ ModulesUninstallConfirmForm.php - Form submission handler.
- ModulesUninstallForm::submitForm in core/
modules/ system/ src/ Form/ ModulesUninstallForm.php - Form submission handler.
- NodeRevisionRevertForm::submitForm in core/
modules/ node/ src/ Form/ NodeRevisionRevertForm.php - Form submission handler.
- OverviewTerms::buildForm in core/
modules/ taxonomy/ src/ Form/ OverviewTerms.php - Form constructor.
- 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.
- UserMultipleCancelConfirm::buildForm in core/
modules/ user/ src/ Form/ UserMultipleCancelConfirm.php - Form constructor.
- UserMultipleCancelConfirm::submitForm in core/
modules/ user/ src/ Form/ UserMultipleCancelConfirm.php - Form submission handler.
- UserPasswordForm::buildForm in core/
modules/ user/ src/ Form/ UserPasswordForm.php - Form constructor.