You are here

function messaging_user_destination in Messaging 7

Same name and namespace in other branches
  1. 6.4 messaging.module \messaging_user_destination()
  2. 6 messaging.module \messaging_user_destination()
  3. 6.2 messaging.module \messaging_user_destination()
  4. 6.3 messaging.module \messaging_user_destination()

Get destination from user account.

4 calls to messaging_user_destination()
messaging_account_build_destination in ./messaging.module
Build destination object from user account (and create destination if not exists)
Messaging_API_Tests::testMessagingBasicAPI in tests/messaging_api.test
Exercise basic API functions
Messaging_Methods_Tests::testMessagingMethods in tests/messaging_methods.test
Test message sending callbacks for enabled plug-ins
messaging_method_list in ./messaging.module
List sending methods

File

./messaging.module, line 289

Code

function messaging_user_destination($account, $method) {
  return messaging_send_method($method)
    ->user_destination($account);
}