You are here

public function Notifications_Node_Update_Template::digest_line in Notifications 7

File

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

Class

Notifications_Node_Update_Template
Template for node updates

Code

public function digest_line($field, $options = array()) {
  switch ($field) {
    case 'node:nid':
      return t('The [node:type-name] has been updated by [user:name]', array(), $options);
    case 'author:uid':
      return t('Updated [node:type-name]: [node:title]', array(), $options);
  }
}