You are here

function invite_help in Invite 8

Same name and namespace in other branches
  1. 5.2 invite.module \invite_help()
  2. 5 invite.module \invite_help()
  3. 6.2 invite.module \invite_help()
  4. 7.2 invite.module \invite_help()

Implements hook_help().

File

./invite.module, line 54
Default file for Invite Project.

Code

function invite_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.invite':
      $output = '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Invite is an invitation system that lets you and your site members invite more people to join the site. Invitations are important to encourage expansion of your network and to provide an exponential growth of community interest. This project provides an “Invite a Friend” feature that allows your users to send and track invitations.') . '</p>';
      $output = '<h3>' . t('Configuration') . '</h3>';
      $output .= '<p>' . t('The configuration can be accessed in <i>Structure</i>  » <i>Invite types</i>.') . '</p>';
      $output .= '<p>' . t('Enable the invite and invite_by_email.') . '</p>';
      $output .= '<p>' . t('Navigate <i>Structure</i> » <i>Invite types</i> » Add Invite type and add an invite type.') . '</p>';
      $output .= '<p>' . t('Navigate <i>Structure</i> » Block layout and place the invite type block that you named.') . '</p>';
      $output .= '<h3>' . t('Usage') . '</h3>';
      $output .= '<p>' . t('Go to the page where the block was inserted.') . '</p>';
      $output .= '<p>' . t('Enter an email address in the block and click Send Invitation.') . '</p>';
      return $output;
  }
}