diff --git a/core/modules/tour/tour.module b/core/modules/tour/tour.module index 48e44f6..fac1008 100644 --- a/core/modules/tour/tour.module +++ b/core/modules/tour/tour.module @@ -7,6 +7,21 @@ use Drupal\Core\Cache\CacheBackendInterface; /** + * Implements hook_help(). + */ +function tour_help($path, $arg) { + switch ($path) { + case 'admin/help#tour': + $output = ''; + $output .= '

' . t('About') . '

'; + $output .= '

' . t("The Tour module provides users with a context-sensitive overview of various interfaces throughout the site. When a tour is available on a page, a Tour button will be visible in the toolbar. Clicking the Tour button will guide the user through the key elements of that page's interface. A tour may also recommend additional related tours on the site to the user; which can be taken in sequence to provide a walkthrough of the site in a structured manner.") . '

'; + $output .= '

' . t('Uses') . '

'; + $output .= '

' . t("Tours can be used to highlight critical components of the interface to the user, guide the user through a workflow or explain key Drupal concepts. Tours can be written as YAML-documents with a text editor or using contributed modules. For more information, see the online documentation for the Tour module.", array('!doc_url' => 'https://drupal.org/documentation/modules/tour')) . '

'; + return $output; + } +} + +/** * Implements hook_permission(). */ function tour_permission() {