function views_natural_sort_rebuild_index_form in Views Natural Sort 7.2
Same name and namespace in other branches
- 6 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_settings_page in ./
views_natural_sort.admin.inc - Views Natural Sort Admin Settings Page callback.
File
- ./
views_natural_sort.admin.inc, line 25 - Callbacks for managing Views Natural Sort.
Code
function views_natural_sort_rebuild_index_form() {
$form = array();
$form['rebuild'] = array(
'#type' => 'fieldset',
'#title' => t('Incase of Emergency'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
'button' => array(
'#type' => 'submit',
'#description' => 'Incase of an emergency.',
'#value' => t('Rebuild Index'),
'#submit' => array(
'views_natural_sort_rebuild_index_submit',
),
),
);
return $form;
}