You are here

function civicrm_entity_user_creatable in CiviCRM Entity 7.2

Same name and namespace in other branches
  1. 7 civicrm_entity.module \civicrm_entity_user_creatable()

Condition Drupal User Account can be created for contact (creates contact).

Parameters

array $contact: contact array

Return value

object Drupal user object if success, FALSE on Fail

File

./civicrm_entity.module, line 2868

Code

function civicrm_entity_user_creatable($contact) {
  return civicrm_entity_action_create_user($contact, TRUE);
}