function node_limit_delete_form in Node Limit 8
Same name and namespace in other branches
- 6 node_limit.module \node_limit_delete_form()
- 7 node_limit.module \node_limit_delete_form()
Implements hook_form().
Confirmation form to delete a node limit.
1 string reference to 'node_limit_delete_form'
- node_limit_menu in old/
node_limit.module - Implements hook_menu().
File
- old/
node_limit.module, line 568
Code
function node_limit_delete_form($form, &$form_state, $limit) {
if ($limit == FALSE) {
drupal_goto('admin/structure/node_limit');
}
$form = array(
'lid' => array(
'#type' => 'hidden',
'#value' => $limit['lid'],
),
);
return confirm_form($form, t('Are you sure you want to delete %name?', array(
'%name' => $limit['title'],
)), 'admin/structure/node_limit');
}