function messaging_template_pre_render_list in Messaging 7
Prepare list for theme_item_list
1 string reference to 'messaging_template_pre_render_list'
- messaging_template_element_info in messaging_template/
messaging_template.module - Implements hook_element_info()
File
- messaging_template/
messaging_template.module, line 132 - Messaging Template Drupal Messaging Framework
Code
function messaging_template_pre_render_list($element) {
foreach (element_children($element) as $index) {
$element['#items'][] = drupal_render($element[$index]);
}
// Remove element type, that will clash with item_list parameter
unset($element['#type']);
return $element;
}