function view_mode_page_help in View Mode Page 4.0.x
Same name and namespace in other branches
- 8.3 view_mode_page.module \view_mode_page_help()
- 3.2.x view_mode_page.module \view_mode_page_help()
Implements hook_help().
File
- ./
view_mode_page.module, line 17 - Contains view_mode_page module.
Code
function view_mode_page_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.view_mode_page':
$output = '';
$output .= '<p>' . t('Makes it possible to create (additional) paths where entities will be shown in a given view_mode') . '</p>';
return $output;
case 'entity.view_mode_page_pattern.collection':
$output = '<p>' . t('This page provides a list of all view_mode patterns on the site and allows you to edit and reorder them.') . '</p>';
return $output;
default:
}
}