You are here

function sendinblue_signup_load_multiple_by_name in SendinBlue 7

Same name and namespace in other branches
  1. 7.2 includes/sendinblue_signup.admin.inc \sendinblue_signup_load_multiple_by_name()

Load signup entities.

1 string reference to 'sendinblue_signup_load_multiple_by_name'
sendinblue_signup_form in includes/sendinblue_signup.admin.inc
Return a form for adding/editing a sendinblue signup form.

File

includes/sendinblue_signup.admin.inc, line 420
Sendinblue_signup module admin settings.

Code

function sendinblue_signup_load_multiple_by_name($name = NULL) {
  $signups = entity_load_multiple_by_name('sendinblue_signup', isset($name) ? array(
    $name,
  ) : FALSE);
  return isset($name) ? reset($signups) : $signups;
}