Révision ca0757b9
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/sites/all/modules/webform/components/fieldset.inc | ||
---|---|---|
74 | 74 |
* Pre-render function to set a fieldset ID. |
75 | 75 |
*/ |
76 | 76 |
function webform_fieldset_prerender($element) { |
77 |
$element['#id'] = drupal_html_id('webform-component-' . str_replace('_', '-', implode('--', array_slice($element['#parents'], 1))));
|
|
77 |
$element['#id'] = 'webform-component-' . str_replace('_', '-', implode('--', array_slice($element['#parents'], 1)));
|
|
78 | 78 |
return $element; |
79 | 79 |
} |
80 | 80 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules