You are here

function beautytips_form_id_off in BeautyTips 6

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

1 string reference to 'beautytips_form_id_off'
beautytips_menu in ./beautytips.module
Implementation of hook_menu.

File

./beautytips.module, line 109
Provides API for adding beautytips to pages. Adds Beautytips settings page and provides some built in functionality.

Code

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