function newsletter_template_add in Newsletter 7
Menu callback; add a newsletter template.
1 string reference to 'newsletter_template_add'
- newsletter_menu in ./
newsletter.module - Implements hook_menu().
File
- includes/
newsletter.admin.inc, line 1262 - Admin page callbacks for the newsletter module.
Code
function newsletter_template_add() {
$template = entity_get_controller('newsletter_template')
->create();
return drupal_get_form('newsletter_template_edit', $template);
}