You are here

function beautytips_manager_delete_confirm_form in BeautyTips 6.2

Confirm form for deleting a custom beautytip.

1 string reference to 'beautytips_manager_delete_confirm_form'
beautytips_manager_menu in ./beautytips_manager.module
Implementation of hook_menu().

File

./beautytips_manager.module, line 313

Code

function beautytips_manager_delete_confirm_form(&$form_state, $bid) {
  $tip = beautytips_manager_get_custom_tip($bid);
  $form['bid'] = array(
    '#type' => 'value',
    '#value' => $bid,
  );
  $question = t('Are you sure you want to the beautytip applied to element %element?', array(
    '%element' => $tip->element,
  ));
  return confirm_form($form, $question, 'admin/settings/beautytips/manager');
}