constant PM_BLOCK_USER_DISALLOW_SENDING in Privatemsg 6
Same name and namespace in other branches
- 6.2 pm_block_user/pm_block_user.module \PM_BLOCK_USER_DISALLOW_SENDING
- 7.2 pm_block_user/pm_block_user.module \PM_BLOCK_USER_DISALLOW_SENDING
- 7 pm_block_user/pm_block_user.module \PM_BLOCK_USER_DISALLOW_SENDING
Disallow sending private messages to a user.
3 uses of PM_BLOCK_USER_DISALLOW_SENDING
- hook_privatemsg_block_message in ./
privatemsg.api.php - Check if the author can send a message to the recipients.
- pm_block_user_privatemsg_block_message in pm_block_user/
pm_block_user.module - Implements hook_privatemsg_block_message().
- _pm_block_user_rule_exists in pm_block_user/
pm_block_user.module - Checks whether a rule exists for a given author, recipient and action.
File
- pm_block_user/
pm_block_user.module, line 16 - Allows users to block other users from sending them any messages
Code
define('PM_BLOCK_USER_DISALLOW_SENDING', 1);