function rotating_banner_add_form in Rotating Banner 7
Same name and namespace in other branches
- 7.2 rotating_banner.admin.inc \rotating_banner_add_form()
1 string reference to 'rotating_banner_add_form'
- rotating_banner_menu in ./
rotating_banner.module - Implement hook_menu();
File
- ./
rotating_banner.admin.inc, line 253
Code
function rotating_banner_add_form($form, &$form_state) {
$form['title'] = array(
'#type' => 'textfield',
'#title' => t('Banner title'),
'#description' => t('The title is not shown on the public site, just for the administrator to identify this banner.'),
'#required' => TRUE,
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Create'),
);
return $form;
}