function printfriendly_views_api in PrintFriendly & PDF 7
Same name and namespace in other branches
- 7.5 printfriendly.module \printfriendly_views_api()
- 7.2 printfriendly.module \printfriendly_views_api()
- 7.3 printfriendly.module \printfriendly_views_api()
- 7.4 printfriendly.module \printfriendly_views_api()
Register module with views api.
File
- ./
printfriendly.module, line 107 - Adds PrintFriendly button to chosen node types and provides a block.
Code
function printfriendly_views_api() {
return array(
'api' => '3.0',
'path' => drupal_get_path('module', 'printfriendly') . '/views',
);
}