diff options
-rw-r--r-- | authfas.module | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/authfas.module b/authfas.module index 741cde8..eb80894 100644 --- a/authfas.module +++ b/authfas.module @@ -49,3 +49,23 @@ function authfas_admin() { return system_settings_form($form); } + +function authfas_menu() { + $items = array(); + + $items['admin/settings/authfas'] = array( + 'title' => 'AuthFAS module settings', + 'description' => 'Settings for authenticating to a FAS instance', + 'page callback' => 'drupal_get_form', + 'page arguments' => array('authfas_admin'), + 'access arguments' => array('access administration pages'), + 'type' => MENU_NORMAL_ITEM, + ); + + return $items; +} + +function authfas_validate() { + // This is where we would validate the menu settings above + // http://drupal.org/node/206761 +} |