From 437f372915a212c7f38ce962e7cbf8fbe0385d89 Mon Sep 17 00:00:00 2001 From: babruix Date: Wed, 20 Mar 2013 13:16:33 +0100 Subject: [PATCH] Added hook_help() for views.module --- core/modules/views/views.module | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/core/modules/views/views.module b/core/modules/views/views.module index 9df2d8e..df3ebc3 100644 --- a/core/modules/views/views.module +++ b/core/modules/views/views.module @@ -16,6 +16,22 @@ use Drupal\views\Views; /** + * Implements hook_help(). + */ +function views_help($path, $arg) { + switch ($path) { + case 'admin/help#views': + $output = ''; + $output .= '

' . t('About') . '

'; + $output .= '

' . t('Views module provides a flexible method to control how lists of posts are retrieved and presented.') . '

'; + $output .= '

' . t('Usage') . '

'; + $output .= '

' . t('If you are new to Views, try the Simple Views module which can create some often used Views for you, this might save you some time.') . '

'; + $output .= '

' . t('Here you can find many modules extending the functionality of Views: ') . l('Views modules', 'http://drupal.org/taxonomy/term/89') . '

'; + return $output; + } +} + +/** * Implements hook_forms(). * * To provide distinct form IDs for Views forms, the View name and -- 1.7.12.4 (Apple Git-37)