You are here

function util_page in Util 7

Same name and namespace in other branches
  1. 6.3 util.module \util_page()
  2. 6 util.module \util_page()
  3. 6.2 util.module \util_page()
5 string references to 'util_page'
comment_box_form_alter in contribs/comment_box/comment_box.module
Implements hook_form_alter(). Change the comment textarea size.
edit_link_form_alter in contribs/edit_link/edit_link.module
Implements hook_settings().
no_index_form_alter in contribs/no_index/no_index.module
Implements hook_form_alter(). Settings to prevent search indexing.
quick_list_form_alter in contribs/quick_list/quick_list.module
Implements hook_form_alter(). Settings to prevent search indexing.
util_menu in ./util.module
Implements hook_menu().

File

./util.module, line 65
Helper Utilities for your Drupal site.

Code

function util_page() {
  $form = array();

  // For now output empty page, this is purely to reserve space for future development
  // and to allow contribs to form_alter onto this page.
  $form['util_clear'] = array(
    '#value' => '<p>Clicking the "Save" button will rebuild the menus.</p>',
    '#prefix' => '<div class="clear-block">',
    '#suffix' => '</div>',
  );
  $form['#submit'][] = 'util_page_submit';
  $form['buttons']['#weight'] = 99;
  return system_settings_form($form);
}