You are here

function beautytips_ui_form_alter in BeautyTips 8

Same name and namespace in other branches
  1. 6.2 beautytips_ui.module \beautytips_ui_form_alter()
  2. 7.2 beautytips_ui.module \beautytips_ui_form_alter()

Implements hook_form_alter().

Adds beautytips for textareas and textfields.

File

beautytips_ui/beautytips_ui.module, line 116
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_form_alter(&$form, $form_state, $form_id) {
  beautytips_ui_include_invoke('beautytips', 'form_change', [
    'form' => &$form,
    'form_state' => $form_state,
    'form_id' => $form_id,
  ]);
}