diff --git a/core/modules/views/views.module b/core/modules/views/views.module index f19ca8a..4ff0845 100644 --- a/core/modules/views/views.module +++ b/core/modules/views/views.module @@ -19,6 +19,28 @@ use Drupal\field\FieldInstanceInterface; /** + * Implements hook_help(). + */ +function views_help($path, $arg) { + switch($path) { + case 'admin/help#views': + $output = ''; + $output .= '

' . t('About') . '

'; + $output .= '

' . t('The Views module provides a back end to fetch content from the database and present it to the user as a grid, HTML list, table, unformatted list, etc. The resulting displays are known generally as views.') . '

'; + $output .= '

' . t('For more information, see the online documentation for the Views module.', array('!views' => 'https://drupal.org/documentation/modules/views')) . '

'; + $output .= '

' . t('In order to create and modify your own views using the administration and configuration user interface, you will need to enable either the Views UI module in core or a contributed module that provides a user interface for Views. See the Views UI module help page for more information.', array('!views-ui' => \Drupal::url('help.page', array('name' => 'views_ui')))) . '

'; + $output .= '

' . t('Uses') . '

'; + $output .= '
'; + $output .= '
' . t('Adding functionality to administrative pages') . '
'; + $output .= '
' . t('The Views module adds functionality to some core administration pages. For example, admin/content uses Views to filter and sort content. With Views uninstalled, admin/content is not available.') . '
'; + $output .= '
' . t('Expanding Views functionality') . '
'; + $output .= '
' . t('Contributed projects that support the Views module can be found in the online documentation for Views-related contributed modules.', array('!node' => 'https://drupal.org/documentation/modules/views/add-ons')) . '
'; + $output .= '
'; + return $output; + } +} + +/** * Implements hook_forms(). * * To provide distinct form IDs for Views forms, the View name and