You are here

function Notifications_Subscription::format_short in Notifications 7

Same name and namespace in other branches
  1. 6.4 includes/notifications_subscription.class.inc \Notifications_Subscription::format_short()

Format as short text

File

./notifications.subscription.inc, line 1414
Drupal Notifications Framework - Default class file

Class

Notifications_Subscription
Common base for subscription type and subscription instance

Code

function format_short($format = self::FORMAT_HTML) {
  return t('@type: !values', array(
    '@type' => $this
      ->get_type('title'),
    '!values' => $this
      ->format_name($format | self::FORMAT_INLINE),
  ));
}