public function Relation::setIndividualId in CRM Core 8
Same name and namespace in other branches
- 8.3 modules/crm_core_user_sync/src/Entity/Relation.php \Drupal\crm_core_user_sync\Entity\Relation::setIndividualId()
Sets the relation individual ID.
Parameters
int $individual_id: The relation individual id.
Return value
$this
Overrides RelationInterface::setIndividualId
File
- modules/
crm_core_user_sync/ src/ Entity/ Relation.php, line 97
Class
- Relation
- Defines the relation entity class.
Namespace
Drupal\crm_core_user_sync\EntityCode
public function setIndividualId($individual_id) {
$this
->set('individual_id', $individual_id);
return $this;
}