function _birthdays_defaults_action_parameters in Birthdays 7
Get the default action settings.
Return value
An associative array with recipient, subject and message keys set.
3 calls to _birthdays_defaults_action_parameters()
- birthdays_defaults_install in defaults/
birthdays_defaults.install - Implements hook_install().
- birthdays_defaults_uninstall in defaults/
birthdays_defaults.install - Implements hook_uninstall().
- birthdays_update_7000 in ./
birthdays.install - Upgrade the data structure to Drupal 7, creating actions, triggers and fields.
File
- defaults/
birthdays_defaults.install, line 101 - Create a default field and action.
Code
function _birthdays_defaults_action_parameters() {
return array(
'recipient' => "[user:name] <[user:mail]>",
'subject' => t("Happy Birthday, [user:name]!"),
'message' => t("Hey [user:name],\n\nHappy birthday!\nWe hope you have a great day.\n\nThe [site:name]-team\n[site:url-brief]"),
);
}