You are here

function beautytips_ui_admin_submit in BeautyTips 7.2

Same name and namespace in other branches
  1. 8 beautytips_ui/beautytips_ui.module \beautytips_ui_admin_submit()
  2. 6.2 beautytips_ui.module \beautytips_ui_admin_submit()

Clear cache and theme registry in case beautytips help tips turned on or off.

1 call to beautytips_ui_admin_submit()
beautytips_admin_submit in ./beautytips.admin.inc
Submit function for beautytips settings form

File

./beautytips_ui.module, line 30
Adds includes to Beautytips settings page and provides some built in functionality. TODO: hook_theme invoke - maybe Invoked include hooks: admin_info, menu_change, theme_change, form_change, menu_items ex. beautytips_textinput_info

Code

function beautytips_ui_admin_submit($form, $form_state) {
  module_invoke('menu', 'rebuild');
  cache_clear_all('*', 'cache_menu', TRUE);
  drupal_theme_rebuild();
}