You are here

function blockgroup_delete_confirm in Block Group 7

Same name and namespace in other branches
  1. 7.2 blockgroup.admin.inc \blockgroup_delete_confirm()

Form constructor for the custom block deletion form.

Parameters

object $blockgroup: The block group object which should be deleted.

See also

blockgroup_delete_confirm_submit()

1 string reference to 'blockgroup_delete_confirm'
blockgroup_menu in ./blockgroup.module
Implements hook_menu().

File

./blockgroup.admin.inc, line 65
Administrative interface for block group module.

Code

function blockgroup_delete_confirm($form, &$form_state, $blockgroup) {
  $form_state['blockgroup'] = $blockgroup;
  return confirm_form($form, t('Are you sure you want to delete the block group %title?', array(
    '%title' => $blockgroup->title,
  )), 'admin/structure/block', '', t('Delete'), t('Cancel'));
}