function beautytips_ui_admin_settings in BeautyTips 7.2
Same name and namespace in other branches
- 8 beautytips_ui/beautytips_ui.module \beautytips_ui_admin_settings()
- 6.2 beautytips_ui.module \beautytips_ui_admin_settings()
@file 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
1 call to beautytips_ui_admin_settings()
- beautytips_admin in ./
beautytips.admin.inc - Menu callback - beautytips admin settings form
File
- ./
beautytips_ui.module, line 11 - 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_settings(&$form) {
$items = beautytips_ui_include_invoke('beautytips', 'admin_info', $args = []);
if (is_array($items)) {
foreach ($items as $form_item) {
if (count($form_item)) {
$keys = array_keys($form_item);
if (count($keys)) {
foreach ($keys as $menu_item) {
$form[$menu_item] = $form_item[$menu_item];
}
}
}
}
}
}