You are here

function newsletter_list_add in Newsletter 7

Same name and namespace in other branches
  1. 7.2 modules/list/includes/newsletter_list.admin.inc \newsletter_list_add()

Menu callback; add a subscribers list.

1 string reference to 'newsletter_list_add'
newsletter_menu in ./newsletter.module
Implements hook_menu().

File

includes/newsletter.admin.inc, line 686
Admin page callbacks for the newsletter module.

Code

function newsletter_list_add() {
  $list = entity_get_controller('newsletter_list')
    ->create();
  return drupal_get_form('newsletter_list_edit', $list);
}