You are here

public property PrivateMessageThreadMemberConstraint::$userPrivateMessagePermissionError in Private Message 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/Validation/Constraint/PrivateMessageThreadMemberConstraint.php \Drupal\private_message\Plugin\Validation\Constraint\PrivateMessageThreadMemberConstraint::userPrivateMessagePermissionError

Constraint violation error.

The message that is shown if the user does not have permission to use the private message system. We give a user not found error rather than a permissions error, as revealing a permissions error would allow users to discover users on the site who are not part of the private message system.

Type: string

File

src/Plugin/Validation/Constraint/PrivateMessageThreadMemberConstraint.php, line 26

Class

PrivateMessageThreadMemberConstraint
Checks that members of the thread have permission to use private messages.

Namespace

Drupal\private_message\Plugin\Validation\Constraint

Code

public $userPrivateMessagePermissionError = 'User %user not found';