You are here

function simplenews_newsletter_save in Simplenews 7.2

Same name and namespace in other branches
  1. 7 simplenews.module \simplenews_newsletter_save()

Store newsletter in the database.

Parameters

$newsletter: Newsletter entity object

Related topics

2 calls to simplenews_newsletter_save()
simplenews_admin_categories_submit in includes/simplenews.admin.inc
Form submit callback for the simplenews categories.
simplenews_admin_newsletter_form_submit in includes/simplenews.admin.inc
Form submit callback for a newsletter form.

File

./simplenews.module, line 2092
Simplenews node handling, sent email, newsletter block and general hooks

Code

function simplenews_newsletter_save($newsletter) {
  return entity_save('simplenews_newsletter', $newsletter);
}