You are here

function piwik_help in Piwik Web Analytics 8

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

Implements hook_help().

File

./piwik.module, line 34
Drupal Module: Piwik.

Code

function piwik_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'piwik.admin_settings_form':
      return t('<a href=":pk_url">Piwik - Web analytics</a> is an open source (GPL license) web analytics software. It gives interesting reports on your website visitors, your popular pages, the search engines keywords they used, the language they speak... and so much more. Piwik aims to be an open source alternative to Google Analytics.', [
        ':pk_url' => 'http://www.piwik.org/',
      ]);
  }
}