public function Relation::getIndividual 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::getIndividual()
Returns the relation individual entity.
Return value
\Drupal\crm_core_contact\IndividualInterface The relation individual entity.
Overrides RelationInterface::getIndividual
File
- modules/
crm_core_user_sync/ src/ Entity/ Relation.php, line 83
Class
- Relation
- Defines the relation entity class.
Namespace
Drupal\crm_core_user_sync\EntityCode
public function getIndividual() {
return $this
->get('individual_id')->entity;
}