You are here

function show_email_permission in Show Email Address 7

Implements hook_permission().

File

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

Code

function show_email_permission() {
  return array(
    'administer show email settings' => array(
      'title' => t('Administer show email settings'),
      'description' => t('Access show email settings'),
    ),
    'access to show email' => array(
      'title' => t('Can see Email field'),
      'description' => t('Can see Email field in user profile page.'),
    ),
  );
}