function printfriendly_help in PrintFriendly & PDF 8
Same name and namespace in other branches
- 8.3 printfriendly.module \printfriendly_help()
- 8.2 printfriendly.module \printfriendly_help()
- 7.5 printfriendly.module \printfriendly_help()
- 7 printfriendly.module \printfriendly_help()
- 7.2 printfriendly.module \printfriendly_help()
- 7.3 printfriendly.module \printfriendly_help()
- 7.4 printfriendly.module \printfriendly_help()
Implements hook_help().
File
- ./
printfriendly.module, line 20 - Adds PrintFriendly button to chosen node types and provides a block.
Code
function printfriendly_help($route_name, \Drupal\Core\Routing\RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the block module.
case 'help.page.printfriendly':
return '<p>' . t('PrintFriendly module lets you include a link to let your site users to quickly print, email or download the page as a PDF file using printfriendly service. <a href="http://www.printfriendly.com">PrintFriendly.com</a>') . '</p>';
}
}