function headerimage_block_confirm_delete in Header image 5
Same name and namespace in other branches
- 6 headerimage.admin.inc \headerimage_block_confirm_delete()
 - 7 headerimage.admin.inc \headerimage_block_confirm_delete()
 
Delete block form
1 string reference to 'headerimage_block_confirm_delete'
- headerimage_menu in ./
headerimage.module  - Implementation of hook_menu()
 
File
- ./
headerimage.module, line 229  - headerimage.module Conditionally display an node in a block.
 
Code
function headerimage_block_confirm_delete($delta) {
  $blocks = headerimage_get_blocks();
  $form['delta'] = array(
    '#type' => 'value',
    '#value' => $delta,
  );
  return confirm_form($form, t('Are you sure you want to delete the block %title?', array(
    '%title' => $blocks[$delta],
  )), 'admin/settings/headerimage', t('All Header Image assignments to this block will be deleted, the nodes will not be deleted. This action cannot be undone.'), t('Delete'), t('Cancel'));
}