You are here

function hook_simplenews_subscriber_insert in Simplenews 3.x

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

Act after a new subscriber has been created.

Parameters

\Drupal\simplenews\Entity\Subscriber $subscriber: The subscriber object including all subscriptions of this user.

Related topics

File

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

Code

function hook_simplenews_subscriber_insert(Subscriber $subscriber) {
}