function views_list_sort_help in Views List Sort 8
Implements hook_help().
File
- ./
views_list_sort.module, line 14 - Provide views data for our custom module_name.
Code
function views_list_sort_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the views_list_sort module.
case 'help.page.views_list_sort':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t("Views List Sort allows views to be sorted by a list\n field's allowed values.This is useful if the allowed values are stored\n in a non-alphabetical order, but you want to present your view results\n in the same order as your allowed values are stored") . '</p>';
return $output;
}
}