You are here

function redhen_org_create in RedHen CRM 7

Create a new org object.

Parameters

array $values: Associative array of values. At least include array('type' => $type)

Return value

RedhenOrg New org entity.

1 string reference to 'redhen_org_create'
redhen_relation_connection_form in modules/redhen_relation/includes/redhen_relation.forms.inc
Return a form array for adding/editing a connection.

File

modules/redhen_org/redhen_org.module, line 395

Code

function redhen_org_create(array $values = array()) {
  return entity_get_controller('redhen_org')
    ->create($values);
}