You are here

public function Contact::getCreatedTime in RedHen CRM 8

Gets the Contact creation timestamp.

Return value

int Creation timestamp of the Contact.

Overrides ContactInterface::getCreatedTime

File

modules/redhen_contact/src/Entity/Contact.php, line 122

Class

Contact
Defines the Contact entity.

Namespace

Drupal\redhen_contact\Entity

Code

public function getCreatedTime() {
  return $this
    ->get('created')->value;
}