function printfriendly_help in PrintFriendly & PDF 7.5
Same name and namespace in other branches
- 8.3 printfriendly.module \printfriendly_help()
- 8 printfriendly.module \printfriendly_help()
- 8.2 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 11 - Adds PrintFriendly button to chosen node types and provides a block.
Code
function printfriendly_help($path) {
switch ($path) {
case 'admin/config/services/printfriendly':
case 'admin/help#printfriendly':
return 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.', array(
'!printfriendly' => '<a href="http://www.printfriendly.com">PrintFriendly.com</a>',
)) . '<div>
<h2>Does your website use these technologies?</h2>
<ul>
<li>- Password protected websites (paywall or intranet)</li>
<li>- JavaScript to display content (Angular/React applications)</li>
</ul>
<p>If yes, you need to <a href="https://www.printfriendly.com/button/pro">purchase a PrintFriendly Pro subscription</a> for the plugin to work properly on your website (<a href="http://blog.printfriendly.com/2017/11/printfriendly-pdf-plugin-is-changing.html">learn why</a>).</p>
<p>If you are an existing Pro customer, no further action is required</p>
</div>';
}
}