You are here

function beautytips_ui_admin_submit in BeautyTips 6.2

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

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

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_rebuild_theme_registry();
}