function supersized_node_settings_delete_confirm in Supersized 8
Same name and namespace in other branches
- 7 supersized.module \supersized_node_settings_delete_confirm()
Supersized setting delete confirm form.
1 string reference to 'supersized_node_settings_delete_confirm'
- supersized_menu in ./
supersized.module - Implements hook_menu().
File
- ./
supersized.module, line 828 - Supersized module file.
Code
function supersized_node_settings_delete_confirm($form, &$form_state, $node) {
$form['#node'] = $node;
// Always provide entity id in the same form key as in the entity edit form.
$form['nid'] = array(
'#type' => 'value',
'#value' => $node->nid,
);
return confirm_form($form, t('Are you sure you want to delete Supersized settings of %title?', array(
'%title' => $node->title,
)), 'node/' . $node->nid, t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}