public function Relation::getIndividualId in CRM Core 8.3
Same name and namespace in other branches
- 8 modules/crm_core_user_sync/src/Entity/Relation.php \Drupal\crm_core_user_sync\Entity\Relation::getIndividualId()
Returns the relation individual ID.
Return value
int|null The relation individual ID, or NULL in case the individual ID field has not been set.
Overrides RelationInterface::getIndividualId
File
- modules/
crm_core_user_sync/ src/ Entity/ Relation.php, line 90
Class
- Relation
- Defines the relation entity class.
Namespace
Drupal\crm_core_user_sync\EntityCode
public function getIndividualId() {
return $this
->get('individual_id')->target_id;
}