You are here

function notifications_views_handler_argument_subscription_send_method::notifications_subscription_send_method in Notifications 7

2 calls to notifications_views_handler_argument_subscription_send_method::notifications_subscription_send_method()
notifications_views_handler_argument_subscription_send_method::summary_name in notifications_views/includes/notifications_views_handler_argument_subscription_send_method.inc
Override the behavior of summary_name(). Get the user friendly version of the node type.
notifications_views_handler_argument_subscription_send_method::title in notifications_views/includes/notifications_views_handler_argument_subscription_send_method.inc
Override the behavior of title(). Get the user friendly version of the node type.

File

notifications_views/includes/notifications_views_handler_argument_subscription_send_method.inc, line 26

Class

notifications_views_handler_argument_subscription_send_method
Argument handler to accept a subscription send method.

Code

function notifications_subscription_send_method($method) {
  $methods = messaging_method_list();
  $title = isset($methods[$method]) ? $methods[$method] : t('Unknown send method');
  return check_plain($title);
}