You are here

function protected_node_email_body in Protected Node 1.0.x

Same name and namespace in other branches
  1. 6 protected_node.settings.inc \protected_node_email_body()
  2. 7 protected_node.settings.inc \protected_node_email_body()

Helper function.

The default email body sent to users to whom you give access to a protected node.

4 calls to protected_node_email_body()
protected_node_admin_settings in ./protected_node.settings.inc
Define the settings form.
protected_node_mail in ./protected_node.mail.inc
Implements hook_mail().
protected_node_send_mail in ./protected_node.mail.inc
Protected node sends email to specified users.
protected_node_variable_info in ./protected_node.variable.inc
Implements hook_variable_info().
3 string references to 'protected_node_email_body'
protected_node_admin_settings in ./protected_node.settings.inc
Define the settings form.
protected_node_mail in ./protected_node.mail.inc
Implements hook_mail().
protected_node_send_mail in ./protected_node.mail.inc
Protected node sends email to specified users.

File

./protected_node.settings.inc, line 48
Configuration file for the protected_node module.

Code

function protected_node_email_body() {
  return t("Dear friend,\r\n\r\nI just created a new page on my website and wanted to invite you to view it.\r\n\r\nThe page is protected by the following password: [node:password]\r\n\r\nThank you.\r\n[site:name]");
}