You are here

function drop_down_login_help in Drop Down Login 8

Same name and namespace in other branches
  1. 7 drop_down_login.module \drop_down_login_help()

Implements hook_help().

File

./drop_down_login.module, line 13
Module file for Drop Down Login.

Code

function drop_down_login_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.drop_down_login':
      $output = '';
      $output .= '<p>' . t('This module provide a drop down block for user login,User can display this block in any region for all / specified pages.This is a tiny project, Login block display on login button toggle,if javascript is disabled clicking on the button will redirect user to user login page.') . '</p>';
      $output .= '<h6>' . t('Installation') . '</h6>';
      $output .= '<ol>';
      $output .= '<li>' . t('Install as usual, see <a href="@2367405">https://www.drupal.org/node/2367405</a> for further information.', [
        '@2367405' => 'https://www.drupal.org/node/2367405',
      ]) . '</li>';
      $output .= '<li>' . t('Copy the entire drop_down_login directory the Drupal sites/all/modules/custom directory.') . '</li>';
      $output .= '<li>' . t('Login as an administrator. Enable the module in the "Administer" -> "Modules".') . '</li>';
      $output .= '</ol>';
      $output .= '<h6>' . t('Configuration') . '</h6>';
      $output .= '<ul>';
      $output .= '<li>' . t('Add the new block "Drop down Login" to the required region via "Administer" -> "Structure" -> "Blocks".') . '</li>';
      $output .= '</ul>';
      return $output;
  }
}