You are here

function theme_patterns_form_helper_menu in Patterns 5

Same name and namespace in other branches
  1. 6.2 patterns.module \theme_patterns_form_helper_menu()
  2. 6 patterns.module \theme_patterns_form_helper_menu()
  3. 7.2 theme/theme.inc \theme_patterns_form_helper_menu()
  4. 7 theme/theme.inc \theme_patterns_form_helper_menu()

File

./patterns.module, line 1368
Enables extremely simple adding/removing features to your site with minimal to no configuration

Code

function theme_patterns_form_helper_menu($forms) {
  $output = '<ul class="patterns-form-menu">';
  foreach ($forms as $form_id => $values) {
    $output .= '<li class="patterns-form-menu-item">' . $form_id . '</li>';
  }
  $output .= '</li>';
  return $output;
}