function views_handler_field_privatemsg_link::access in Privatemsg 6
Same name and namespace in other branches
- 6.2 views/views_handler_field_privatemsg_link.inc \views_handler_field_privatemsg_link::access()
- 7.2 views/views_handler_field_privatemsg_link.inc \views_handler_field_privatemsg_link::access()
- 7 views/views_handler_field_privatemsg_link.inc \views_handler_field_privatemsg_link::access()
Only display the column for users with the appropriate permission.
File
- views/
views_handler_field_privatemsg_link.inc, line 142 - Contains the privatemsg link views field handler.
Class
- views_handler_field_privatemsg_link
- Provides a configurable link to the new message form for a specific user.
Code
function access() {
return privatemsg_user_access('write privatemsg');
}