function views_slideshow_xtra_example_admin_form in Views Slideshow Xtra 7.2
Same name and namespace in other branches
- 7.3 views_slideshow_xtra_example/views_slideshow_xtra_example.module \views_slideshow_xtra_example_admin_form()
Admin form.
1 string reference to 'views_slideshow_xtra_example_admin_form'
- views_slideshow_xtra_example_menu in views_slideshow_xtra_example/
views_slideshow_xtra_example.module - Implements hook_menu().
File
- views_slideshow_xtra_example/
views_slideshow_xtra_example.module, line 146 - This module creates a Views Slideshow Xtra content type and example slide nodes.
Code
function views_slideshow_xtra_example_admin_form() {
$form = array();
// Generate Nodes Button
$form['generate_nodes'] = array(
'#type' => 'submit',
'#value' => t('Generate Example Nodes'),
);
// Delete Nodes Button
$form['delete_nodes'] = array(
'#type' => 'submit',
'#value' => t('Delete Example Nodes'),
);
return $form;
}