You are here

function show_email_menu in Show Email Address 7

Implements hook_menu().

File

./show_email.module, line 37
Basically show the user's registered email address.

Code

function show_email_menu() {
  $items['admin/config/people/show_email_settings'] = array(
    'title' => 'Show Email Settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'show_email_settings',
    ),
    'access arguments' => array(
      'administer show email settings',
    ),
    'file' => 'inc/show_email_settings.inc',
  );
  return $items;
}