You are here

function oa_message_notifiers in Open Atrium Core 7.2

Returns a list of notifiers that are used for sending messages. Modules can add notifiers by invoking hook_oa_message_notifiers_alter().

2 calls to oa_message_notifiers()
oa_messages_build_message_notifications_table in modules/oa_messages/oa_messages.admin.inc
Helper function to build the message notifications table.
oa_messages_determine_user_notifiers in modules/oa_messages/oa_messages.module
Determine's a users's notifiers based on message type and message content.

File

modules/oa_messages/oa_messages.module, line 229

Code

function oa_message_notifiers() {
  $notifiers = array(
    array(
      'title' => t('Email'),
      'id' => 'oa_email',
      'default' => TRUE,
    ),
  );
  drupal_alter('oa_message_notifiers', $notifiers);
  return $notifiers;
}