function views_natural_sort_rebuild_index_form in Views Natural Sort 6
Same name and namespace in other branches
- 7.2 views_natural_sort.admin.inc \views_natural_sort_rebuild_index_form()
- 7 views_natural_sort.admin.inc \views_natural_sort_rebuild_index_form()
Form callback for Views Natural Sort Rebuild Index page.
Allows rebuilding index but should also allow things like limiting what node types are indexed and cck text field index options.
1 string reference to 'views_natural_sort_rebuild_index_form'
- views_natural_sort_menu in ./
views_natural_sort.module - Implementation of hook_menu().
File
- ./
views_natural_sort.admin.inc, line 13 - Callbacks for managing Views Natural Sort.
Code
function views_natural_sort_rebuild_index_form() {
$form = array();
$form['rebuild'] = array(
'#type' => 'submit',
'#value' => t('Rebuild title index'),
'#submit' => array(
'views_natural_sort_rebuild_index_submit',
),
);
return $form;
}