function om_tools_admin in OM Tools 6
Same name and namespace in other branches
- 8.2 inc/om_tools.admin.inc \om_tools_admin()
- 8 om_tools.module \om_tools_admin()
- 6.2 inc/om_tools.admin.inc \om_tools_admin()
- 7.2 inc/om_tools.admin.inc \om_tools_admin()
- 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;
}