You are here

public function Individual::setBirthDate in CRM Core 8.2

Sets birth date of individual.

Parameters

int $birth_date: Birth date field.

Overrides IndividualInterface::setBirthDate

File

modules/crm_core_contact/src/Entity/Individual.php, line 186

Class

Individual
CRM Individual Entity Class.

Namespace

Drupal\crm_core_contact\Entity

Code

public function setBirthDate($birth_date) {
  $this
    ->set('birth_date', $birth_date);
  return $this;
}