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