Révision eefc2ac0
Ajouté par Assos Assos il y a plus de 6 ans
drupal7/sites/all/themes/bootstrap/templates/webform/webform-element.vars.php | ||
---|---|---|
1 | 1 |
<?php |
2 |
|
|
2 | 3 |
/** |
3 | 4 |
* @file |
4 | 5 |
* Stub file for "webform_element" theme hook [pre]process functions. |
... | ... | |
9 | 10 |
* |
10 | 11 |
* See theme function for list of available variables. |
11 | 12 |
* |
13 |
* @param array $variables |
|
14 |
* An associative array of variables, passed by reference. |
|
15 |
* |
|
12 | 16 |
* @see theme_webform_element() |
13 | 17 |
* |
14 | 18 |
* @ingroup theme_preprocess |
15 | 19 |
*/ |
16 |
function bootstrap_preprocess_webform_element(&$variables) { |
|
20 |
function bootstrap_preprocess_webform_element(array &$variables) {
|
|
17 | 21 |
$element = $variables['element']; |
18 | 22 |
$wrapper_attributes = array(); |
19 | 23 |
if (isset($element['#wrapper_attributes'])) { |
Formats disponibles : Unified diff
Weekly update of contrib modules