You are here

function redhen_org_add_page in RedHen CRM 7

Page callback for adding an organization.

Parameters

$type:

Return value

array|mixed

1 string reference to 'redhen_org_add_page'
redhen_org_menu in modules/redhen_org/redhen_org.module
Implements hook_menu().

File

modules/redhen_org/includes/redhen_org.pages.inc, line 187

Code

function redhen_org_add_page($type) {
  $org = entity_get_controller('redhen_org')
    ->create(array(
    'type' => $type,
  ));
  return drupal_get_form('redhen_org_org_form', $org);
}