protected function RegisterForm::actions in Drupal 10
Same name and namespace in other branches
- 8 core/modules/user/src/RegisterForm.php \Drupal\user\RegisterForm::actions()
- 9 core/modules/user/src/RegisterForm.php \Drupal\user\RegisterForm::actions()
File
- core/
modules/ user/ src/ RegisterForm.php, line 61
Class
- RegisterForm
- Form handler for the user register forms.
Namespace
Drupal\userCode
protected function actions(array $form, FormStateInterface $form_state) {
$element = parent::actions($form, $form_state);
$element['submit']['#value'] = $this
->t('Create new account');
return $element;
}