function beautytips_ui_include_list in BeautyTips 7.2
Same name and namespace in other branches
- 8 beautytips_ui/beautytips_ui.module \beautytips_ui_include_list()
- 6.2 beautytips_ui.module \beautytips_ui_include_list()
Maintains a list of all loaded include files.
Parameters
$file: -------------------------
Return value
An array of all loaded includes. (w/o appended .inc)
1 call to beautytips_ui_include_list()
- beautytips_ui_include_invoke in ./
beautytips_ui.module - Invoke hook in a particular include.
File
- ./
beautytips_ui.module, line 103 - 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 $file => $name) {
module_load_include('inc', 'beautytips', 'includes/' . $name);
}
return $files;
}