You are here

function beautytips_ui_include_list in BeautyTips 8

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

Maintains a list of all loaded include files.

Return value

$files array.

1 call to beautytips_ui_include_list()
beautytips_ui_include_invoke in beautytips_ui/beautytips_ui.module
Invoke hook in a particular include.

File

beautytips_ui/beautytips_ui.module, line 99
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_include_list() {
  $files = [
    'drupal_help.inc' => 'drupal_help',
    'textinput.inc' => 'textinput',
  ];
  foreach ($files as $name) {
    module_load_include('inc', 'beautytips', 'includes/' . $name);
  }
  return $files;
}