You are here

function redhen_contact_type_load in RedHen CRM 7

Menu argument loader; Load a contact type by string.

Parameters

string $type: The machine-readable name of a contact type to load.

Return value

array. A contact type array or FALSE if $type does not exist.

1 call to redhen_contact_type_load()
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 757
Module file for RedHen contacts.

Code

function redhen_contact_type_load($type) {
  return redhen_contact_get_types($type);
}