public function RelationInterface::setUser 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::setUser()
Sets the relation user entity.
Parameters
\Drupal\user\UserInterface $account: The relation user entity.
Return value
$this
1 method overrides RelationInterface::setUser()
- Relation::setUser in modules/
crm_core_user_sync/ src/ Entity/ Relation.php - Sets the relation user entity.
File
- modules/
crm_core_user_sync/ src/ RelationInterface.php, line 30
Class
- RelationInterface
- Provides an interface defining a relation entity type.
Namespace
Drupal\crm_core_user_syncCode
public function setUser(UserInterface $account);