You are here

function theme_module_builder_hook_list in Module Builder 5

Same name and namespace in other branches
  1. 6.2 includes/module_builder.pages.inc \theme_module_builder_hook_list()
  2. 7 includes/module_builder.pages.inc \theme_module_builder_hook_list()

Theme function for hook list

1 theme call to theme_module_builder_hook_list()
module_builder_page_input in ./module_builder.module
Module form: 'input' step. Collect module data.

File

./module_builder.module, line 531
Builds scaffolding for custom modules.

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;
}