You are here

public function CrmCoreUserSyncRelationInterface::getRelationIdFromUserId in CRM Core 8.3

Retrieves the relation ID from the user ID.

Return value

int|null Relation ID, if exists.

1 method overrides CrmCoreUserSyncRelationInterface::getRelationIdFromUserId()
CrmCoreUserSyncRelation::getRelationIdFromUserId in modules/crm_core_user_sync/src/CrmCoreUserSyncRelation.php
Retrieves the relation ID from the user ID.

File

modules/crm_core_user_sync/src/CrmCoreUserSyncRelationInterface.php, line 35

Class

CrmCoreUserSyncRelationInterface
CrmCoreUserSyncRelation service.

Namespace

Drupal\crm_core_user_sync

Code

public function getRelationIdFromUserId($user_id);