Révision 6ff32cea
Ajouté par Florent Torregrosa il y a environ 9 ans
drupal7/modules/system/system.module | ||
---|---|---|
374 | 374 |
'#element_validate' => array('form_validate_machine_name'), |
375 | 375 |
'#theme' => 'textfield', |
376 | 376 |
'#theme_wrappers' => array('form_element'), |
377 |
// Use the same value callback as for textfields; this ensures that we only |
|
378 |
// get string values. |
|
379 |
'#value_callback' => 'form_type_textfield_value', |
|
377 | 380 |
); |
378 | 381 |
$types['password'] = array( |
379 | 382 |
'#input' => TRUE, |
... | ... | |
382 | 385 |
'#process' => array('ajax_process_form'), |
383 | 386 |
'#theme' => 'password', |
384 | 387 |
'#theme_wrappers' => array('form_element'), |
388 |
// Use the same value callback as for textfields; this ensures that we only |
|
389 |
// get string values. |
|
390 |
'#value_callback' => 'form_type_textfield_value', |
|
385 | 391 |
); |
386 | 392 |
$types['password_confirm'] = array( |
387 | 393 |
'#input' => TRUE, |
Formats disponibles : Unified diff
Update core to 7.36