user_register_form Valider #2439

This commit is contained in:
2023-11-28 15:16:07 +01:00
parent 5ab09ec579
commit 9aab063340
3 changed files with 17 additions and 0 deletions
+1
View File
@@ -97,6 +97,7 @@ module:
persistent_login: 0
phone_number: 0
redis: 0
reha_mod: 0
responsive_image: 0
rules: 0
search_api: 0
+5
View File
@@ -0,0 +1,5 @@
name: reha_mod
type: module
description: Provides additional functionality for the site.
package: Custom
core_version_requirement: ^9 || ^10
+11
View File
@@ -0,0 +1,11 @@
<?php
/**
* @file
* Primary module hooks for reha module.
*/
function reha_mod_form_user_register_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id) {
$form['actions']['submit']['#value'] = "valider";
}