You are here

function messaging_messaging in Messaging 7

Same name and namespace in other branches
  1. 6.4 messaging.module \messaging_messaging()

Implements hook_messaging().

File

./messaging.module, line 454

Code

function messaging_messaging($op, $type = NULL) {
  switch ($op) {
    case 'address types':

      // Get some built in address types
      $types['user'] = array(
        'name' => t('User name'),
        // Name of the address for this method
        'class' => 'Messaging_User_Destination',
      );
      return $types;
  }
}