You are here

function beautytips_textinput_form_id_off in BeautyTips 6.2

Same name and namespace in other branches
  1. 8 includes/textinput.inc \beautytips_textinput_form_id_off()
  2. 7.2 includes/textinput.inc \beautytips_textinput_form_id_off()

Menu callback. Turns off the display of form-ids.

1 string reference to 'beautytips_textinput_form_id_off'
beautytips_textinput_menu_items in includes/textinput.inc

File

includes/textinput.inc, line 124

Code

function beautytips_textinput_form_id_off() {
  variable_set('beautytips_show_form', FALSE);
  $destination = drupal_get_destination() ? drupal_get_destination() : 'admin/settings/beautytips';
  drupal_goto($destination);
}