diff --git a/core/modules/views_ui/views_ui.module b/core/modules/views_ui/views_ui.module index 9e61cfd..ba19984 100644 --- a/core/modules/views_ui/views_ui.module +++ b/core/modules/views_ui/views_ui.module @@ -13,6 +13,26 @@ use Drupal\Core\Ajax\ReplaceCommand; /** + * Implements hook_help(). + */ +function views_ui_help($path, $arg) { + $generator = Drupal::urlGenerator(); + $url = $generator->generate('views_ui.list'); + switch ($path) { + case 'admin/help#views_ui': + $output = ''; + $output .= '

' . t('About') . '

'; + $output .= '

' . t('The Views UI module provides the administration interface to create and edit your Views.', + array('!views-configuration' => $url)) . '

'; + $output .= '

' . t('Usage') . '

'; + $output .= '

' . t('Create lists and queries from your database.') . '

'; + $output .= '

' . t('You can turn this module off if you have finished making all the views.') . '

'; + $output .= '

' . t('Your views will work no matter you have the Views UI module enabled, or not.') . '

'; + return $output; + } +} + +/** * Implements hook_menu(). */ function views_ui_menu() {