diff --git a/core/modules/views_ui/views_ui.module b/core/modules/views_ui/views_ui.module index c175caa..5dba208 100644 --- a/core/modules/views_ui/views_ui.module +++ b/core/modules/views_ui/views_ui.module @@ -13,6 +13,31 @@ use Drupal\Core\Ajax\ReplaceCommand; /** + * Implements hook_help(). + */ +function views_ui_help($path, $arg) { + + switch ($path) { + case 'admin/help#views_ui': + $output = ''; + $output .= '

' . t('About') . '

'; + $output .= '

' . t('The Views UI module provides users an interface to manage views. For more information, see the Views module help page.', array('@views' => \Drupal::url('help.page', array('name' => 'views')))) . '

'; + $output .= '

' . t('Uses') . '

'; + $output .= '
'; + $output .= '
' . t('Creating and managing views.') . '
'; + $output .= '
' . t('Views can be created from the Views list page by using the "Add new view" action. Existing views can be managed from the Views list page by locating the view in the "Enabled" or "Disabled" list and selecting the desired operation action, for example "Edit".', array('@list' => \Drupal::url('views_ui.list', array('name' => 'views_ui')))) . '
'; + $output .= '
' . t('Enabling and disabling views.') . '
'; + $output .= '
' . t('Views can be enabled or disabled from the Views list page. To enable a view, find the view within the "Disabled" list and select the "Enable" operation. To disable a view find the view within the "Enabled" list and select the "Disable" operation.', array('@list' => \Drupal::url('views_ui.list', array('name' => 'views_ui')))) . '
'; + $output .= '
' . t('Exporting and importing views.') . '
'; + $output .= '
' . t('Views can be exported and imported as configuration files by using the Configuration Manager module.', array('@config' => \Drupal::url('help.page', array('name' => 'config')))) . '
'; + $output .= '
' . t('Theming views.') . '
'; + $output .= '
' . t('The template files used by views can be overridden from a custom theme. For detailed information about the templates used by a view, when editing a view, in the "Advanced" column, under the "Other" section, click the link on the "Output:" row.') . '
'; + $output .= '
'; + return $output; + } +} + +/** * Implements hook_menu(). */ function views_ui_menu() {