You are here

function header_and_footer_scripts_help in Header and Footer Scripts 8

Same name and namespace in other branches
  1. 8.2 header_and_footer_scripts.module \header_and_footer_scripts_help()

Implements hook_help().

File

./header_and_footer_scripts.module, line 13
Add scripts and styles from the frontend on all over the site.

Code

function header_and_footer_scripts_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.header_and_footer_scripts':
      $output = '<h2>' . t('About') . '</h2>';
      $output .= '<p>' . t('This module allows you to add style and scripts in your site or , You do not need to open any file for this purpose.') . '</p>';
      $output .= '<h2>' . t('Uses') . '</h2>';
      $output .= '<p>' . t('Header and Footer Scripts provides you the capability to quickly add the style and scripts in your site. It provides you 2 regions (Body, and Footer) of the page on which you can add the style and script. You can add custom style/script file, add Google or other Analytics code, inline css,  inline js and so on. You can configure them from the Administer -> Configuration -> Development -> Header Footer Scripts') . '</p>';
      return $output;
  }
}