You are here

function google_analytics_counter_help in Google Analytics Counter 7.3

Same name and namespace in other branches
  1. 8.3 google_analytics_counter.module \google_analytics_counter_help()
  2. 6.2 google_analytics_counter.module \google_analytics_counter_help()
  3. 6 google_analytics_counter.module \google_analytics_counter_help()
  4. 7 google_analytics_counter.module \google_analytics_counter_help()
  5. 7.2 google_analytics_counter.module \google_analytics_counter_help()

Display help and module information Implements hook_help().

Parameters

path which path of the site we're displaying help:

arg array that holds the current path as would be returned from arg() function:

Return value

help text for the path

File

./google_analytics_counter.module, line 91
Basic functions for this module.

Code

function google_analytics_counter_help($path, $arg) {
  if ($path == 'admin/help#google_analytics_counter') {

    //admin/modules#description

    //admin/help/google_analytics_counter

    // '<p>' . t("Page view counter drawing on data collected by Google Analytics.") . '</p>';
    $output = file_get_contents(drupal_get_path('module', 'google_analytics_counter') . '/README.txt');
    return nl2br($output);
  }
}