diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/block/block.module | 2 | ||||
-rw-r--r-- | modules/field/modules/text/text.module | 6 | ||||
-rw-r--r-- | modules/system/system.module | 36 | ||||
-rw-r--r-- | modules/user/user.module | 2 |
4 files changed, 23 insertions, 23 deletions
diff --git a/modules/block/block.module b/modules/block/block.module index 2f139a614..306b7bcd7 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -275,7 +275,7 @@ function block_get_blocks_by_region($region) { $build[$key] = $block->content; unset($block->content); $build[$key] += array( - '#theme_wrapper' => 'block', + '#theme_wrappers' => array('block'), '#block' => $block, '#weight' => ++$weight, ); diff --git a/modules/field/modules/text/text.module b/modules/field/modules/text/text.module index 23575ff6d..b123602fd 100644 --- a/modules/field/modules/text/text.module +++ b/modules/field/modules/text/text.module @@ -484,21 +484,21 @@ function text_elements() { '#input' => TRUE, '#columns' => array('value'), '#delta' => 0, '#process' => array('text_textfield_elements_process'), - '#theme_wrapper' => 'text_textfield', + '#theme_wrappers' => array('text_textfield'), '#autocomplete_path' => FALSE, ), 'text_textarea' => array( '#input' => TRUE, '#columns' => array('value', 'format'), '#delta' => 0, '#process' => array('text_textarea_elements_process'), - '#theme_wrapper' => 'text_textarea', + '#theme_wrappers' => array('text_textarea'), '#filter_value' => FILTER_FORMAT_DEFAULT, ), 'text_textarea_with_summary' => array( '#input' => TRUE, '#columns' => array('value', 'format', 'summary'), '#delta' => 0, '#process' => array('text_textarea_with_summary_process'), - '#theme_wrapper' => 'text_textarea_with_summary', + '#theme_wrappers' => array('text_textarea_with_summary'), '#filter_value' => FILTER_FORMAT_DEFAULT, ), ); diff --git a/modules/system/system.module b/modules/system/system.module index 86f0bb940..344378272 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -266,7 +266,7 @@ function system_elements() { $type['form'] = array( '#method' => 'post', '#action' => request_uri(), - '#theme_wrapper' => 'form', + '#theme_wrappers' => array('form'), ); $type['page'] = array( @@ -291,7 +291,7 @@ function system_elements() { '#button_type' => 'submit', '#executes_submit_callback' => TRUE, '#process' => array('form_process_ahah'), - '#theme_wrapper' => 'button', + '#theme_wrappers' => array('button'), ); $type['button'] = array( @@ -300,7 +300,7 @@ function system_elements() { '#button_type' => 'submit', '#executes_submit_callback' => FALSE, '#process' => array('form_process_ahah'), - '#theme_wrapper' => 'button', + '#theme_wrappers' => array('button'), ); $type['image_button'] = array( @@ -311,7 +311,7 @@ function system_elements() { '#return_value' => TRUE, '#has_garbage_value' => TRUE, '#src' => NULL, - '#theme_wrapper' => 'image_button', + '#theme_wrappers' => array('image_button'), ); $type['textfield'] = array( @@ -321,7 +321,7 @@ function system_elements() { '#autocomplete_path' => FALSE, '#process' => array('form_process_text_format', 'form_process_ahah'), '#theme' => 'textfield', - '#theme_wrapper' => 'form_element', + '#theme_wrappers' => array('form_element'), ); $type['password'] = array( @@ -330,13 +330,13 @@ function system_elements() { '#maxlength' => 128, '#process' => array('form_process_ahah'), '#theme' => 'password', - '#theme_wrapper' => 'form_element', + '#theme_wrappers' => array('form_element'), ); $type['password_confirm'] = array( '#input' => TRUE, '#process' => array('form_process_password_confirm'), - '#theme_wrapper' => 'form_element', + '#theme_wrappers' => array('form_element'), ); $type['textarea'] = array( @@ -346,13 +346,13 @@ function system_elements() { '#resizable' => TRUE, '#process' => array('form_process_text_format', 'form_process_ahah'), '#theme' => 'textarea', - '#theme_wrapper' => 'form_element', + '#theme_wrappers' => array('form_element'), ); $type['radios'] = array( '#input' => TRUE, '#process' => array('form_process_radios'), - '#theme_wrapper' => 'radios', + '#theme_wrappers' => array('radios'), '#pre_render' => array('form_pre_render_conditional_form_element'), ); @@ -361,7 +361,7 @@ function system_elements() { '#default_value' => NULL, '#process' => array('form_process_ahah'), '#theme' => 'radio', - '#theme_wrapper' => 'form_element', + '#theme_wrappers' => array('form_element'), '#form_element_skip_title' => TRUE, ); @@ -369,7 +369,7 @@ function system_elements() { '#input' => TRUE, '#tree' => TRUE, '#process' => array('form_process_checkboxes'), - '#theme_wrapper' => 'checkboxes', + '#theme_wrappers' => array('checkboxes'), '#pre_render' => array('form_pre_render_conditional_form_element'), ); @@ -378,7 +378,7 @@ function system_elements() { '#return_value' => 1, '#process' => array('form_process_ahah'), '#theme' => 'checkbox', - '#theme_wrapper' => 'form_element', + '#theme_wrappers' => array('form_element'), '#form_element_skip_title' => TRUE, ); @@ -388,7 +388,7 @@ function system_elements() { '#multiple' => FALSE, '#process' => array('form_process_ahah'), '#theme' => 'select', - '#theme_wrapper' => 'form_element', + '#theme_wrappers' => array('form_element'), ); $type['weight'] = array( @@ -403,14 +403,14 @@ function system_elements() { '#element_validate' => array('date_validate'), '#process' => array('form_process_date'), '#theme' => 'date', - '#theme_wrapper' => 'form_element', + '#theme_wrappers' => array('form_element'), ); $type['file'] = array( '#input' => TRUE, '#size' => 60, '#theme' => 'file', - '#theme_wrapper' => 'form_element', + '#theme_wrappers' => array('form_element'), ); $type['tableselect'] = array( @@ -429,7 +429,7 @@ function system_elements() { $type['item'] = array( '#markup' => '', '#theme' => 'markup', - '#theme_wrapper' => 'form_element', + '#theme_wrappers' => array('form_element'), ); $type['hidden'] = array( @@ -453,11 +453,11 @@ function system_elements() { '#value' => NULL, '#process' => array('form_process_fieldset', 'form_process_ahah'), '#pre_render' => array('form_pre_render_fieldset'), - '#theme_wrapper' => 'fieldset', + '#theme_wrappers' => array('fieldset'), ); $type['vertical_tabs'] = array( - '#theme_wrapper' => 'vertical_tabs', + '#theme_wrappers' => array('vertical_tabs'), '#default_tab' => '', '#process' => array('form_process_vertical_tabs'), ); diff --git a/modules/user/user.module b/modules/user/user.module index dbd8b0fdb..d36e270a2 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -867,7 +867,7 @@ function user_search($op = 'search', $keys = NULL, $skip_access_check = FALSE) { function user_elements() { return array( 'user_profile_category' => array( - '#theme_wrapper' => 'user_profile_category' + '#theme_wrappers' => array('user_profile_category') ), 'user_profile_item' => array( '#theme' => 'user_profile_item' |