You are here

public function IndividualInterface::setMainEmail in CRM Core 8.2

Sets main email of individual.

Parameters

array $email: Main email.

1 method overrides IndividualInterface::setMainEmail()
Individual::setMainEmail in modules/crm_core_contact/src/Entity/Individual.php
Sets main email of individual.

File

modules/crm_core_contact/src/IndividualInterface.php, line 16

Class

IndividualInterface
Defines methods for individual entities.

Namespace

Drupal\crm_core_contact

Code

public function setMainEmail(array $email);