You are here

function theme_redhen_contact_list in RedHen CRM 7

Theme function for contact list.

1 theme call to theme_redhen_contact_list()
redhen_contact_page in modules/redhen_contact/includes/redhen_contact.pages.inc
Page callback for contact overview page.

File

modules/redhen_contact/redhen_contact.module, line 805
Module file for RedHen contacts.

Code

function theme_redhen_contact_list($variables) {
  $header = $variables['header'];
  $rows = $variables['rows'];
  $render['table'] = array(
    '#theme' => 'table',
    '#header' => $header,
    '#rows' => $rows,
    '#empty' => t('No contacts available.'),
  );
  $render['pager'] = array(
    '#theme' => 'pager',
  );
  return render($render);
}