public function RelationInterface::setUserId in CRM Core 8
Same name and namespace in other branches
- 8.3 modules/crm_core_user_sync/src/RelationInterface.php \Drupal\crm_core_user_sync\RelationInterface::setUserId()
Sets the relation user ID.
Parameters
int $uid: The relation user id.
Return value
$this
1 method overrides RelationInterface::setUserId()
- Relation::setUserId in modules/
crm_core_user_sync/ src/ Entity/ Relation.php - Sets the relation user ID.
File
- modules/
crm_core_user_sync/ src/ RelationInterface.php, line 48
Class
- RelationInterface
- Provides an interface defining a relation entity type.
Namespace
Drupal\crm_core_user_syncCode
public function setUserId($uid);