Révision 01a79e9a
Ajouté par Assos Assos il y a plus de 10 ans
htmltest/modules/simpletest/tests/form_test.module | ||
---|---|---|
1548 | 1548 |
'#default_value' => array(1, 2), |
1549 | 1549 |
); |
1550 | 1550 |
|
1551 |
// This is used to test that programmatic form submissions can bypass #access |
|
1552 |
// restrictions. |
|
1553 |
$form['textfield_no_access'] = array( |
|
1554 |
'#type' => 'textfield', |
|
1555 |
'#title' => 'Textfield no access', |
|
1556 |
'#default_value' => 'default value', |
|
1557 |
'#access' => FALSE, |
|
1558 |
); |
|
1559 |
|
|
1551 | 1560 |
$form['field_to_validate'] = array( |
1552 | 1561 |
'#type' => 'radios', |
1553 | 1562 |
'#title' => 'Field to validate (in the case of limited validation)', |
Formats disponibles : Unified diff
Update to drupal 7.26