You are here

constant PM_BLOCK_USER_DISALLOW_BLOCKING in Privatemsg 6

Same name and namespace in other branches
  1. 6.2 pm_block_user/pm_block_user.module \PM_BLOCK_USER_DISALLOW_BLOCKING
  2. 7.2 pm_block_user/pm_block_user.module \PM_BLOCK_USER_DISALLOW_BLOCKING
  3. 7 pm_block_user/pm_block_user.module \PM_BLOCK_USER_DISALLOW_BLOCKING

Disallow blocking private messages from a user.

6 uses of PM_BLOCK_USER_DISALLOW_BLOCKING
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_privatemsg_message_view_alter in pm_block_user/pm_block_user.module
Implements hook_privatemsg_message_view_alter().
_pm_block_user_access in pm_block_user/pm_block_user.module
Provides access argument for blocking user menu item.
_pm_block_user_actions_form in pm_block_user/pm_block_user.module
Builds row of sending, receiving roles and actions that go with them.

... See full list

File

pm_block_user/pm_block_user.module, line 11
Allows users to block other users from sending them any messages

Code

define('PM_BLOCK_USER_DISALLOW_BLOCKING', 0);