You are here

function views_complex_grouping_help in Views Complex Grouping 8

Implements hook_help().

File

./views_complex_grouping.module, line 46
Adds theme function for custom template.

Code

function views_complex_grouping_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.views_complex_grouping':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The Views Complex Grouping allows you to attach fields to a grouping field. There is currently no way using Views to attach fields on the same level as the group by fields. You can also limit the number of rows rendered for each grouping.') . '</p>';
      $output .= '<h3>' . t('Uses') . '</h3>';
      $output .= '<p>' . t('The module has no menu or modifiable settings. There is no configuration. When enabled, Views will have a format Complex Grouping option. Configure the View format options to choose the items limit and offset, as well as to select the fields which will be displayed alongside the Grouping Field. Please note that in order for this to take effect, you must set the row limit on the View pager to Unlimited.') . '</p>';
      return $output;
  }
}