You are here

constant PM_BLOCK_USER_DISALLOW_BLOCKING in Privatemsg 6.2

Same name and namespace in other branches
  1. 6 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
pm_block_user_block_validate in pm_block_user/pm_block_user.pages.inc
Validate user names.
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.admin.inc
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);