You are here

function civicrm_entity_user_exists_or_creatable in CiviCRM Entity 7.2

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

Condition Drupal User Account can be created or exists for contact.

Creates contact if appropriate.

Parameters

array $contact: contact array

Return value

mixed Drupal user object if success, FALSE on fail.

File

./civicrm_entity.module, line 2883

Code

function civicrm_entity_user_exists_or_creatable($contact) {
  return civicrm_entity_action_load_create_user($contact);
}