You are here

function nodesinblock_settings_clear_confirm in Nodes In Block 7

Same name and namespace in other branches
  1. 6 nodesinblock.admin.inc \nodesinblock_settings_clear_confirm()

Menu callback: show confirmation screen to clear nodes in block settings.

1 string reference to 'nodesinblock_settings_clear_confirm'
nodesinblock_menu in ./nodesinblock.module
Implements hook_menu().

File

./nodesinblock.admin.inc, line 165
Administration page for nodes in block.

Code

function nodesinblock_settings_clear_confirm() {
  $form = array();
  return confirm_form($form, t('Do you want to clear the settings for nodes in block?'), 'admin/config/nodesinblock', t('Warning, you will loose all settings including all entries in the nodesinblock table and the blocks generated by your previous configuration.'), t('Clear configuration'), t('Cancel'));
}