function agenda_admin_delete in Agenda 6.2
Same name and namespace in other branches
- 6 agenda.admin.php \agenda_admin_delete()
- 7.2 agenda.admin.php \agenda_admin_delete()
- 7 agenda.admin.php \agenda_admin_delete()
Delete agenda
1 string reference to 'agenda_admin_delete'
- agenda_menu in ./
agenda.module - Implementation of hook_menu().
File
- ./
agenda.admin.php, line 52 - Administration interface for the agenda module
Code
function agenda_admin_delete($form_state, $delta) {
$form = array();
$form['agenda_admin_delete_bid'] = array(
'#type' => 'hidden',
'#value' => (int) $delta,
);
$form['agenda_admin_delete_markup'] = array(
'#value' => '<p>' . t('Are you sure you wish to delete this block?') . '</p>',
);
$form['agenda_admin_delete_confirm'] = array(
'#type' => 'submit',
'#value' => t('Delete block'),
);
return $form;
}