function opening_hours_admin_blocked_day_delete_form in Opening hours 7
Same name and namespace in other branches
- 6 includes/opening_hours.admin.inc \opening_hours_admin_blocked_day_delete_form()
Delete blocked day confirmation page.
1 string reference to 'opening_hours_admin_blocked_day_delete_form'
- opening_hours_menu in ./
opening_hours.module - Implements hook_menu().
File
- includes/
opening_hours.admin.inc, line 109 - Administration page for opening hours.
Code
function opening_hours_admin_blocked_day_delete_form($form, $form_state, $date) {
$form['date'] = array(
'#type' => 'value',
'#value' => $date,
);
return confirm_form($form, t('Delete blocked day @date?', array(
'@date' => $date,
)), 'admin/structure/opening_hours');
}