You are here

function civicrm_entity_user_exists in CiviCRM Entity 7

Same name and namespace in other branches
  1. 7.2 civicrm_entity.module \civicrm_entity_user_exists()

Condition Drupal User Account exists for contact.

Parameters

array $contact: Contact array.

Return value

object Drupal user object if success, FALSE on fail.

File

./civicrm_entity.module, line 619
Implement CiviCRM entities as a Drupal Entity.

Code

function civicrm_entity_user_exists($contact) {
  return civicrm_entity_action_load_user($contact);
}