You are here

public function Notifications_Node_Comment_Template::digest_line in Notifications 7

File

notifications_content/notifications_content.inc, line 317
Drupal Notifications Framework - Default class file

Class

Notifications_Node_Comment_Template
Template for node comments

Code

public function digest_line($field, $options = array()) {
  switch ($field) {
    case 'node:nid':
      return t('New comment by [comment:name]: [comment:title]', array(), $options);
    case 'author:uid':
      return t('Commented on [node:type-name]: [node:title]', array(), $options);
  }
}