You are here

function show_email_help in Show Email Address 8

Same name and namespace in other branches
  1. 7 show_email.module \show_email_help()

Implements hook_help().

File

./show_email.module, line 13
Show registered user email address in profile page.

Code

function show_email_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.show_email':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Show registered user email address in profile page.') . '</p>';
      $output .= '<p>' . t('You can configure Show Email settings <b>Configuration » People » Account settings » Manage display</b>.');
      return $output;
  }
}