function theme_module_builder_hook_list in Module Builder 7
Same name and namespace in other branches
- 5 module_builder.module \theme_module_builder_hook_list()
- 6.2 includes/module_builder.pages.inc \theme_module_builder_hook_list()
Theme function for hook list
2 theme calls to theme_module_builder_hook_list()
- module_builder_page_input in includes/
module_builder.pages.inc - Xmodule_builder_page_input in ./
module_builder.module - Module form: 'input' step. Collect module data.
File
- includes/
module_builder.pages.inc, line 274 - Menu callback for main module builder page.
Code
function theme_module_builder_hook_list($form) {
$output = "<ul class=\"hook-group clear-block\">\n";
foreach (element_children($form) as $key) {
$output .= " <li>" . drupal_render($form[$key]) . "</li>\n";
}
$output .= "</ul>\n";
return $output;
}