You are here

function hook_simplenews_newsletter_insert in Simplenews 3.x

Same name and namespace in other branches
  1. 8.2 simplenews.api.php \hook_simplenews_newsletter_insert()
  2. 8 simplenews.api.php \hook_simplenews_newsletter_insert()
  3. 7.2 simplenews.api.php \hook_simplenews_newsletter_insert()

Act after a newsletter category has been inserted.

Parameters

\Drupal\simplenews\Entity\Newsletter $newsletter: The newsletter object.

Related topics

File

./simplenews.api.php, line 140
Hooks provided by the Simplenews module.

Code

function hook_simplenews_newsletter_insert(Newsletter $newsletter) {
}