You are here

function mailing_list_load in Mailing List 7

Same name and namespace in other branches
  1. 6 mailing_list.module \mailing_list_load()

Return the mailing list object matching a mailing list ID.

Parameters

$mlid: The mailing list's ID.

Return value

The mailing list object, if exists, FALSE otherwise.

1 call to mailing_list_load()
mailing_list_block_view in ./mailing_list.module
Implement hook_block_view();

File

./mailing_list.module, line 249
Minimalistic mailing list module.

Code

function mailing_list_load($mlid) {
  return current(mailing_list_get($mlid));
}