You are here

function message_notify_get_notifiers_as_options in Message Notify 7.2

Helper function to return all notifiers as options for a select list.

File

./message_notify.module, line 174
Message notify.

Code

function message_notify_get_notifiers_as_options() {
  $notifiers = message_notify_get_notifiers();
  $options = array();
  foreach ($notifiers as $notifier_name => $notifier) {
    $options[$notifier_name] = check_plain($notifier['title']);
  }
  return $options;
}