You are here

public function RelationInterface::setIndividual in CRM Core 8

Same name and namespace in other branches
  1. 8.3 modules/crm_core_user_sync/src/RelationInterface.php \Drupal\crm_core_user_sync\RelationInterface::setIndividual()

Sets the relation individual entity.

Parameters

\Drupal\crm_core_contact\IndividualInterface $individual: The relation individual entity.

Return value

$this

1 method overrides RelationInterface::setIndividual()
Relation::setIndividual in modules/crm_core_user_sync/src/Entity/Relation.php
Sets the relation individual entity.

File

modules/crm_core_user_sync/src/RelationInterface.php, line 66

Class

RelationInterface
Provides an interface defining a relation entity type.

Namespace

Drupal\crm_core_user_sync

Code

public function setIndividual(IndividualInterface $individual);