function om_tools_settings in OM Tools 7
Same name and namespace in other branches
- 8.2 inc/om_tools.admin.inc \om_tools_settings()
- 8 om_tools.module \om_tools_settings()
- 6.2 inc/om_tools.admin.inc \om_tools_settings()
- 6 om_tools.module \om_tools_settings()
- 7.2 inc/om_tools.admin.inc \om_tools_settings()
OM Tools requires tools dynamically
1 call to om_tools_settings()
- om_tools_admin in ./
om_tools.module - Admin Forms
File
- ./
om_tools.module, line 156 - This is a collection of OM Tools.
Code
function om_tools_settings(&$form, $module = NULL) {
if (module_exists($module)) {
include_once drupal_get_path('module', 'om_tools') . '/tools/' . $module . '/' . $module . '.inc';
$function = 'om_' . $module;
if (function_exists($function)) {
return $function($form);
}
}
}