function util_page in Util 6.3
Same name and namespace in other branches
- 6 util.module \util_page()
- 6.2 util.module \util_page()
- 7 util.module \util_page()
3 string references to 'util_page'
- 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.
- util_menu in ./
util.module - @file Helper Utilities for your Drupal site.
File
- ./
util.module, line 40 - 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'] = array(
'#value' => theme('advanced_help_topic', 'util', 'util') . t('The Utility module is a grouping of commonly-needed utilities that are simple to code, everyone wants, but nobody actually codes them.'),
);
$form['clear'] = array(
'#value' => '<p>Clicking the "Save" button will rebuild the menus.</p>',
'#prefix' => '<div class="clear-block">',
'#suffix' => '</div>',
);
$form['#submit'][] = array(
'util_page_submit',
);
$form['buttons']['#weight'] = 99;
return system_settings_form($form);
}