You are here

protected function Notifications_Message_Template::text_header in Notifications 7

Header text

1 call to Notifications_Message_Template::text_header()
Notifications_Message_Template::default_text in ./notifications.template.inc
Default texts for this template, may need token replacement

File

./notifications.template.inc, line 107
Drupal Notifications Framework - Templates

Class

Notifications_Message_Template
Message template. This should be able to produce a full message by itself

Code

protected function text_header($options) {
  return array(
    '#tokens' => TRUE,
    '#markup' => t("Greetings [user:name],", array(), $options),
  );
}