You are here

function om_tools_settings in OM Tools 8

Same name and namespace in other branches
  1. 8.2 inc/om_tools.admin.inc \om_tools_settings()
  2. 6.2 inc/om_tools.admin.inc \om_tools_settings()
  3. 6 om_tools.module \om_tools_settings()
  4. 7.2 inc/om_tools.admin.inc \om_tools_settings()
  5. 7 om_tools.module \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);
    }
  }
}