You are here

function newsletter_subscriber_add in Newsletter 7

Menu callback; add subscribers.

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

File

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

Code

function newsletter_subscriber_add() {
  $subscriber = entity_get_controller('newsletter_subscriber')
    ->create();
  return drupal_get_form('newsletter_subscriber_edit', $subscriber);
}