You are here

function om_tools_admin in OM Tools 6

Same name and namespace in other branches
  1. 8.2 inc/om_tools.admin.inc \om_tools_admin()
  2. 8 om_tools.module \om_tools_admin()
  3. 6.2 inc/om_tools.admin.inc \om_tools_admin()
  4. 7.2 inc/om_tools.admin.inc \om_tools_admin()
  5. 7 om_tools.module \om_tools_admin()

Admin Forms

1 string reference to 'om_tools_admin'
om_tools_menu in ./om_tools.module
Implementation of hook_menu().

File

./om_tools.module, line 68
This is a collection of OM Tools.

Code

function om_tools_admin() {
  drupal_set_title(t('OM Tools Settings'));
  $tools = om_tools_get();
  $form = array();
  foreach ($tools as $key => $tool_name) {
    om_tools_settings($form, $tool_name);
  }
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Save Settings'),
  );
  return $form;
}