function front_page_help in Front Page 8
Same name and namespace in other branches
- 5 front_page.module \front_page_help()
- 6.2 front_page.module \front_page_help()
- 6 front_page.module \front_page_help()
- 7.2 front_page.module \front_page_help()
- 7 front_page.module \front_page_help()
- 9.1.x front_page.module \front_page_help()
Implements hook_help().
File
- ./
front_page.module, line 21 - This module allows the site admin to set advanced front page settings.
Code
function front_page_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'front_page.settings':
return t('<p>Setup custom front pages for your site.</p>');
case 'help.page.front_page':
return t('<p>If a HOME link is set, the <front> placeholder will be replaced with this value instead of the standard front page.</p>');
}
}