function simplenews_newsletter_load_multiple in Simplenews 8
Same name and namespace in other branches
- 7.2 simplenews.module \simplenews_newsletter_load_multiple()
- 7 simplenews.module \simplenews_newsletter_load_multiple()
Load one or many newsletter entities from database.
Parameters
array $ids List of ids to be loaded or empty array for all.:
boolean $reset:
Return value
type
Related topics
5 calls to simplenews_newsletter_load_multiple()
- simplenews_newsletter_get_all in ./
simplenews.module - Loads all newsletters.
- simplenews_newsletter_get_visible in ./
simplenews.module - Loads all visible newsletters.
- simplenews_newsletter_load in ./
simplenews.module - Get a simplenews newsletter entity object.
- simplenews_user_profile_form_submit in ./
simplenews.module - Submit callback for the user profile form to save the simplenews newsletters setting.
- SubscriberMassSubscribeForm::submitForm in src/
Form/ SubscriberMassSubscribeForm.php - Form submission handler.
File
- ./
simplenews.module, line 805 - Simplenews node handling, sent email, newsletter block and general hooks
Code
function simplenews_newsletter_load_multiple($ids = NULL, $reset = FALSE) {
return entity_load_multiple('simplenews_newsletter', $ids, $reset);
}