function google_analytics_counter_help in Google Analytics Counter 7.2
Same name and namespace in other branches
- 8.3 google_analytics_counter.module \google_analytics_counter_help()
- 6.2 google_analytics_counter.module \google_analytics_counter_help()
- 6 google_analytics_counter.module \google_analytics_counter_help()
- 7.3 google_analytics_counter.module \google_analytics_counter_help()
- 7 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 41 - 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);
}
}