You are here

public function Individual::getBirthDate in CRM Core 8.2

Gets birth date of individual.

Return value

int Birth date of individual.

Overrides IndividualInterface::getBirthDate

File

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

Class

Individual
CRM Individual Entity Class.

Namespace

Drupal\crm_core_contact\Entity

Code

public function getBirthDate() {
  return $this
    ->get('birth_date')->value;
}