You are here

function notifications_text_replace in Notifications 5

Text replacement with tokens

4 calls to notifications_text_replace()
notifications_process_digest_long in ./notifications.cron.inc
Digest multiple events in a single message, long format.
notifications_process_digest_short in ./notifications.cron.inc
Digest multiple events in a single message, short format.
notifications_process_message in ./notifications.cron.inc
Creates a single message for a single event
Notifications_Templates_Tests::testNotificationsTemplateAPI in tests/notifications_templates.test
Play with creating, retrieving, deleting a pair subscriptions

File

./notifications.cron.inc, line 599

Code

function notifications_text_replace($text, $objects) {

  // Add some token types
  $objects['global'] = NULL;
  return token_replace_multiple($text, $objects);
}